mbox series

[v2,00/17] arm64: dts: qcom: qcs404: Add Device tree nodes

Message ID 20181105154529.7614-1-vkoul@kernel.org
Headers show
Series arm64: dts: qcom: qcs404: Add Device tree nodes | expand

Message

Vinod Koul Nov. 5, 2018, 3:45 p.m. UTC
This series adds support for various nodes for QCS404-EVB.

Based on v4.20-rc1

Changes in v2:
 Fix cpu binding

Bjorn Andersson (7):
  arm64: dts: qcom: qcs404: Add reserved-memory regions
  arm64: dts: qcom: qcs404: Add RPM GLINK related nodes
  arm64: dts: qcom: qcs404: Add PMS405 RPM regulators
  arm64: dts: qcom: qcs404: Add TLMM pinctrl node
  arm64: dts: qcom: qcs404: Add sdcc1 node
  arm64: dts: qcom: qcs404: Add scm firmware node
  arm64: dts: qcom: qcs404: Add remoteproc nodes

Vinod Koul (10):
  arm64: dts: qcom: qcs404: add base dts files
  arm64: dts: qcom: qcs404: add smp2p nodes
  arm64: dts: qcom: pms405: add spmi node
  arm64: dts: qcom: qcs404: add spmi node
  arm64: dts: qcom: pms405: add rtc node
  arm64: dts: qcom: pms405: add gpios
  arm64: dts: qcom: qcs404: add prng-ee node
  arm64: dts: qcom: qcs404: Add BAM DMA node
  arm64: dts: qcom: qcs404: Use BAM DMA for serial uart2
  arm64: dts: qcom: pms405: Add pon and pwrkey nodes

 arch/arm64/boot/dts/qcom/Makefile       |   1 +
 arch/arm64/boot/dts/qcom/pms405.dtsi    |  53 ++++
 arch/arm64/boot/dts/qcom/qcs404-evb.dts | 183 ++++++++++++
 arch/arm64/boot/dts/qcom/qcs404.dtsi    | 485 ++++++++++++++++++++++++++++++++
 4 files changed, 722 insertions(+)
 create mode 100644 arch/arm64/boot/dts/qcom/pms405.dtsi
 create mode 100644 arch/arm64/boot/dts/qcom/qcs404-evb.dts
 create mode 100644 arch/arm64/boot/dts/qcom/qcs404.dtsi

Thanks
-- 
2.14.4

Comments

Bjorn Andersson Nov. 5, 2018, 6:56 p.m. UTC | #1
On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote:

> diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dts b/arch/arm64/boot/dts/qcom/qcs404-evb.dts

> new file mode 100644

> index 000000000000..74dc09ddb0d2

> --- /dev/null

> +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dts

> @@ -0,0 +1,21 @@

> +// SPDX-License-Identifier: GPL-2.0

> +// Copyright (c) 2018, Linaro Limited

> +

> +// QCS EVB DTS


This can be read from the filename and the model a few lines down. So
please drop.

> +

> +/dts-v1/;

> +

> +#include "qcs404.dtsi"

> +

> +/ {

> +	model = "Qualcomm Technologies, Inc. QCS404 EVB 1000";

> +	compatible = "qcom,qcs404-evb";

> +

> +	aliases {

> +		serial0 = &blsp1_uart2;

> +	};

> +

> +	chosen {

> +		stdout-path = "serial0";

> +	};

> +};

> diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi

[..]
> +	timer {

> +		compatible = "arm,armv8-timer";

> +		interrupts = <GIC_PPI 2 0xff08>,

> +			     <GIC_PPI 3 0xff08>,

> +			     <GIC_PPI 4 0xff08>,

> +			     <GIC_PPI 1 0xff08>;

> +	};

> +

> +	clocks {


Please sort these nodes alphabetically.

> +		xo_board: xo_board {

> +			compatible = "fixed-clock";

> +			#clock-cells = <0>;

> +			clock-frequency = <19200000>;

> +		};

> +	};

> +

> +	soc: soc@0 {

> +		#address-cells = <1>;

> +		#size-cells = <1>;

> +		ranges = <0 0 0 0xffffffff>;

> +		compatible = "simple-bus";

> +


Please pad the address in reg to 8 digits and sort these nodes by
address.

> +		intc: interrupt-controller@b000000 {

> +			compatible = "qcom,msm-qgic2";

> +			interrupt-controller;

> +			#interrupt-cells = <3>;

> +			reg = <0x0b000000 0x1000>,

> +			      <0x0b002000 0x1000>;

> +		};

> +


Regards,
Bjorn
Vinod Koul Nov. 6, 2018, 5:35 p.m. UTC | #2
Thanks for the review Bjorn,

On 05-11-18, 10:56, Bjorn Andersson wrote:
> On Mon 05 Nov 07:45 PST 2018, Vinod Koul wrote:

> 

> > diff --git a/arch/arm64/boot/dts/qcom/qcs404-evb.dts b/arch/arm64/boot/dts/qcom/qcs404-evb.dts

> > new file mode 100644

> > index 000000000000..74dc09ddb0d2

> > --- /dev/null

> > +++ b/arch/arm64/boot/dts/qcom/qcs404-evb.dts

> > @@ -0,0 +1,21 @@

> > +// SPDX-License-Identifier: GPL-2.0

> > +// Copyright (c) 2018, Linaro Limited

> > +

> > +// QCS EVB DTS

> 

> This can be read from the filename and the model a few lines down. So

> please drop.


Sure

> 

> > +

> > +/dts-v1/;

> > +

> > +#include "qcs404.dtsi"

> > +

> > +/ {

> > +	model = "Qualcomm Technologies, Inc. QCS404 EVB 1000";

> > +	compatible = "qcom,qcs404-evb";

> > +

> > +	aliases {

> > +		serial0 = &blsp1_uart2;

> > +	};

> > +

> > +	chosen {

> > +		stdout-path = "serial0";

> > +	};

> > +};

> > diff --git a/arch/arm64/boot/dts/qcom/qcs404.dtsi b/arch/arm64/boot/dts/qcom/qcs404.dtsi

> [..]

> > +	timer {

> > +		compatible = "arm,armv8-timer";

> > +		interrupts = <GIC_PPI 2 0xff08>,

> > +			     <GIC_PPI 3 0xff08>,

> > +			     <GIC_PPI 4 0xff08>,

> > +			     <GIC_PPI 1 0xff08>;

> > +	};

> > +

> > +	clocks {

> 

> Please sort these nodes alphabetically.


Will do and also while adding subsequent nodes

> > +		xo_board: xo_board {

> > +			compatible = "fixed-clock";

> > +			#clock-cells = <0>;

> > +			clock-frequency = <19200000>;

> > +		};

> > +	};

> > +

> > +	soc: soc@0 {

> > +		#address-cells = <1>;

> > +		#size-cells = <1>;

> > +		ranges = <0 0 0 0xffffffff>;

> > +		compatible = "simple-bus";

> > +

> 

> Please pad the address in reg to 8 digits and sort these nodes by

> address.


Sure

-- 
~Vinod