mbox series

[00/21] MSM8994 peripheral enablement, DTS updates

Message ID 20200620144639.335093-1-konradybcio@gmail.com
Headers show
Series MSM8994 peripheral enablement, DTS updates | expand

Message

Konrad Dybcio June 20, 2020, 2:46 p.m. UTC
Hi!

In this series I added support for various buses and peripherals
such as I2C or SMD RPM. I also did some housekeeping when it comes
to the DTS. This series also includes a new board (SoMC Kitakami
Sumire / Xperia Z5).

I have a MMCC driver coming along with GCC updates/completion
(almost ready, need to polish a few things) and I sincerely 
hope somebody is going to write a 20nm DSI PLL driver (for 8992/4)
as I have no clue how that works.

Also, some Lumia (yes, Lumia!) device trees are coming soon(tm).

The patchet depends on:
- https://patchwork.kernel.org/patch/11584267/ (even though bullhead used
that for a few years and the property never existed but nobody noticed)

- https://patchwork.kernel.org/patch/11580845/ (no point duplicating it for 8994)


Konrad Dybcio (21):
  clk: qcom: smd: Add support for MSM8992/4 rpm clocks
  arm64: dts: qcom: msm8994: Add SPMI PMIC arbiter device
  arm64: dts: qcom: msm8994: Add a proper CPU map
  arm64: dts: qcom: msm8994: Wrap clock nodes into clocks {}
  arm64: dts: qcom: msm8994: Rename the smem node and remove its unit
    address
  arm64: dts: qcom: msm8994: Rename clock_gcc label to gcc
  arm64: dts: qcom: msm8994: Add apcs node
  arm64: dts: qcom: msm8994: Add pmu node
  arm64: dts: qcom: msm8994: Add PSCI node
  arm64: dts: qcom: msm8994: Add support for SMD RPM
  arm64: dts: qcom: msm8994: Add SDHCI1 node
  arm64: dts: qcom: msm8994: Remove qcom,msm-id and qcom-pmic-id
    properties
  arm64: dts: qcom: msm8994: Make comments C style
  arm64: dts: qcom: msm8994: Add SCM node
  arm64: dts: qcom: msm8994: Add BLSP2 UART2 node
  arm64: dts: qcom: msm8994: Add I2C, SPI and BLSP DMA nodes
  arm64: dts: qcom: Update msm8994 pin configuration
  regulator: qcom_smd: Fix pmi8994 label
  arm64: dts: qcom: angler: Add qcom,msm-id and pmic-id
  arm64: dts: qcom: Add support for Sony Xperia Z5 (SoMC Sumire-RoW)
  arm64: dts: qcom: Move msm8994-smd-rpm contents to lg-bullhead.

 .../devicetree/bindings/clock/qcom,rpmcc.txt  |   2 +
 arch/arm64/boot/dts/qcom/Makefile             |   1 +
 .../dts/qcom/msm8992-bullhead-rev-101.dts     | 264 +++++++++-
 .../boot/dts/qcom/msm8994-angler-rev-101.dts  |   2 +
 arch/arm64/boot/dts/qcom/msm8994-pins.dtsi    | 272 +++++++++++
 arch/arm64/boot/dts/qcom/msm8994-smd-rpm.dtsi | 268 -----------
 .../msm8994-sony-xperia-kitakami-sumire.dts   | 410 ++++++++++++++++
 arch/arm64/boot/dts/qcom/msm8994.dtsi         | 452 +++++++++++++++++-
 drivers/clk/qcom/clk-smd-rpm.c                | 172 +++++++
 drivers/regulator/qcom_smd-regulator.c        |   2 +-
 include/dt-bindings/clock/qcom,rpmcc.h        |   4 +
 11 files changed, 1556 insertions(+), 293 deletions(-)
 delete mode 100644 arch/arm64/boot/dts/qcom/msm8994-smd-rpm.dtsi
 create mode 100644 arch/arm64/boot/dts/qcom/msm8994-sony-xperia-kitakami-sumire.dts

Comments

Bjorn Andersson June 21, 2020, 6:05 a.m. UTC | #1
On Sat 20 Jun 07:46 PDT 2020, Konrad Dybcio wrote:

> s3 was mislabeled as s2. Fix it.
> 
> Signed-off-by: Konrad Dybcio <konradybcio@gmail.com>

Reviewed-by: Bjorn Andersson <bjorn.andersson@linaro.org>

Regards,
Bjorn

> ---
>  drivers/regulator/qcom_smd-regulator.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/regulator/qcom_smd-regulator.c b/drivers/regulator/qcom_smd-regulator.c
> index 53a64d856926..7f5c318c8259 100644
> --- a/drivers/regulator/qcom_smd-regulator.c
> +++ b/drivers/regulator/qcom_smd-regulator.c
> @@ -821,7 +821,7 @@ static const struct rpm_regulator_data rpm_pm8994_regulators[] = {
>  static const struct rpm_regulator_data rpm_pmi8994_regulators[] = {
>  	{ "s1", QCOM_SMD_RPM_SMPB, 1, &pmi8994_ftsmps, "vdd_s1" },
>  	{ "s2", QCOM_SMD_RPM_SMPB, 2, &pmi8994_hfsmps, "vdd_s2" },
> -	{ "s2", QCOM_SMD_RPM_SMPB, 3, &pmi8994_hfsmps, "vdd_s3" },
> +	{ "s3", QCOM_SMD_RPM_SMPB, 3, &pmi8994_hfsmps, "vdd_s3" },
>  	{ "boost-bypass", QCOM_SMD_RPM_BBYB, 1, &pmi8994_bby, "vdd_bst_byp" },
>  	{}
>  };
> -- 
> 2.27.0
>
Mark Brown June 23, 2020, 12:39 p.m. UTC | #2
On Sat, 20 Jun 2020 16:46:16 +0200, Konrad Dybcio wrote:
> In this series I added support for various buses and peripherals
> such as I2C or SMD RPM. I also did some housekeeping when it comes
> to the DTS. This series also includes a new board (SoMC Kitakami
> Sumire / Xperia Z5).
> 
> I have a MMCC driver coming along with GCC updates/completion
> (almost ready, need to polish a few things) and I sincerely
> hope somebody is going to write a 20nm DSI PLL driver (for 8992/4)
> as I have no clue how that works.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: qcom_smd: Fix pmi8994 label
      commit: 0d46f69881c34351b6ec523c31225b90ea89ee20

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark