From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Alex Bee <knaerzche@gmail.com>, Heiko Stuebner <heiko@sntech.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Lee Jones <lee@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>
Cc: Elaine Zhang <zhangqing@rock-chips.com>,
Johan Jonker <jbx6244@gmail.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org, alsa-devel@alsa-project.org,
linux-clk@vger.kernel.org, linux-phy@lists.infradead.org
Subject: Re: [PATCH 15/31] ARM: dts: rockchip: Split RK3128 devictree for RK312x SoC family
Date: Tue, 29 Aug 2023 19:24:21 +0200 [thread overview]
Message-ID: <89955853-c38a-cabc-e5dd-8582487b8fc9@linaro.org> (raw)
In-Reply-To: <20230829171647.187787-16-knaerzche@gmail.com>
On 29/08/2023 19:16, Alex Bee wrote:
> Currently there is only a SoC devicetree for RK3128 although RK312x
> SoC family consits of (at least) RK3126(C) and RK3128.
>
> This splits up the currently existing rk3128.dtsi in rk312x.dtsi which
> contains the common definitions for both SoCs and rk3128.dtsi, rk3126.dtsi
> respectivly.
typos here and before
>
> The differentiation between rk3126/rk3128 is already taken into account
> in the clock driver and they have their own compatibles.
> uart0 and i2c3 exist only in rk3128 SoC, thus they are moved to the new
> rk3128.dtsi.
>
> Signed-off-by: Alex Bee <knaerzche@gmail.com>
> ---
> arch/arm/boot/dts/rockchip/rk3126.dtsi | 9 +
> arch/arm/boot/dts/rockchip/rk3128.dtsi | 894 +------------------------
> arch/arm/boot/dts/rockchip/rk312x.dtsi | 893 ++++++++++++++++++++++++
Please generate your patches with proper -M/-B/-C arguments to detect
the rename/copy.
> 3 files changed, 909 insertions(+), 887 deletions(-)
> create mode 100644 arch/arm/boot/dts/rockchip/rk3126.dtsi
> create mode 100644 arch/arm/boot/dts/rockchip/rk312x.dtsi
>
> diff --git a/arch/arm/boot/dts/rockchip/rk3126.dtsi b/arch/arm/boot/dts/rockchip/rk3126.dtsi
> new file mode 100644
> index 000000000000..7345bd95d29d
> --- /dev/null
> +++ b/arch/arm/boot/dts/rockchip/rk3126.dtsi
> @@ -0,0 +1,9 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +/dts-v1/;
> +
> +#include "rk312x.dtsi"
> +
> +/ {
> + compatible = "rockchip,rk3126";
> +};
> diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi
> index f3f0788195d2..4c5c9728179e 100644
> --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi
> +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi
> @@ -1,360 +1,11 @@
> -// SPDX-License-Identifier: GPL-2.0+
> -/*
> - * (C) Copyright 2017 Rockchip Electronics Co., Ltd
> - */
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
This looks like relicensing, so without proper diff (see comment before)
it is a no-go.
>
> -#include <dt-bindings/clock/rk3128-cru.h>
> -#include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/interrupt-controller/arm-gic.h>
> -#include <dt-bindings/interrupt-controller/irq.h>
> -#include <dt-bindings/pinctrl/rockchip.h>
> +/dts-v1/;
> +
> +#include "rk312x.dtsi"
>
> / {
> compatible = "rockchip,rk3128";
> - interrupt-parent = <&gic>;
> - #address-cells = <1>;
> - #size-cells = <1>;
> -
> - arm-pmu {
> - compatible = "arm,cortex-a7-pmu";
> - interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
> - interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
> - };
> -
> - cpus {
> - #address-cells = <1>;
> - #size-cells = <0>;
> -
> - cpu0: cpu@f00 {
> - device_type = "cpu";
> - compatible = "arm,cortex-a7";
> - reg = <0xf00>;
> - clock-latency = <40000>;
> - clocks = <&cru ARMCLK>;
> - operating-points = <
> - /* KHz uV */
> - 816000 1000000
> - >;
> - #cooling-cells = <2>; /* min followed by max */
> - };
All this patch is absolutely unreadable and unreviewable. Sorry, use the
tools to make review possible.
Best regards,
Krzysztof
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Alex Bee <knaerzche@gmail.com>, Heiko Stuebner <heiko@sntech.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Lee Jones <lee@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>
Cc: Elaine Zhang <zhangqing@rock-chips.com>,
Johan Jonker <jbx6244@gmail.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org, alsa-devel@alsa-project.org,
linux-clk@vger.kernel.org, linux-phy@lists.infradead.org
Subject: Re: [PATCH 15/31] ARM: dts: rockchip: Split RK3128 devictree for RK312x SoC family
Date: Tue, 29 Aug 2023 19:24:21 +0200 [thread overview]
Message-ID: <89955853-c38a-cabc-e5dd-8582487b8fc9@linaro.org> (raw)
In-Reply-To: <20230829171647.187787-16-knaerzche@gmail.com>
On 29/08/2023 19:16, Alex Bee wrote:
> Currently there is only a SoC devicetree for RK3128 although RK312x
> SoC family consits of (at least) RK3126(C) and RK3128.
>
> This splits up the currently existing rk3128.dtsi in rk312x.dtsi which
> contains the common definitions for both SoCs and rk3128.dtsi, rk3126.dtsi
> respectivly.
typos here and before
>
> The differentiation between rk3126/rk3128 is already taken into account
> in the clock driver and they have their own compatibles.
> uart0 and i2c3 exist only in rk3128 SoC, thus they are moved to the new
> rk3128.dtsi.
>
> Signed-off-by: Alex Bee <knaerzche@gmail.com>
> ---
> arch/arm/boot/dts/rockchip/rk3126.dtsi | 9 +
> arch/arm/boot/dts/rockchip/rk3128.dtsi | 894 +------------------------
> arch/arm/boot/dts/rockchip/rk312x.dtsi | 893 ++++++++++++++++++++++++
Please generate your patches with proper -M/-B/-C arguments to detect
the rename/copy.
> 3 files changed, 909 insertions(+), 887 deletions(-)
> create mode 100644 arch/arm/boot/dts/rockchip/rk3126.dtsi
> create mode 100644 arch/arm/boot/dts/rockchip/rk312x.dtsi
>
> diff --git a/arch/arm/boot/dts/rockchip/rk3126.dtsi b/arch/arm/boot/dts/rockchip/rk3126.dtsi
> new file mode 100644
> index 000000000000..7345bd95d29d
> --- /dev/null
> +++ b/arch/arm/boot/dts/rockchip/rk3126.dtsi
> @@ -0,0 +1,9 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +/dts-v1/;
> +
> +#include "rk312x.dtsi"
> +
> +/ {
> + compatible = "rockchip,rk3126";
> +};
> diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi
> index f3f0788195d2..4c5c9728179e 100644
> --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi
> +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi
> @@ -1,360 +1,11 @@
> -// SPDX-License-Identifier: GPL-2.0+
> -/*
> - * (C) Copyright 2017 Rockchip Electronics Co., Ltd
> - */
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
This looks like relicensing, so without proper diff (see comment before)
it is a no-go.
>
> -#include <dt-bindings/clock/rk3128-cru.h>
> -#include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/interrupt-controller/arm-gic.h>
> -#include <dt-bindings/interrupt-controller/irq.h>
> -#include <dt-bindings/pinctrl/rockchip.h>
> +/dts-v1/;
> +
> +#include "rk312x.dtsi"
>
> / {
> compatible = "rockchip,rk3128";
> - interrupt-parent = <&gic>;
> - #address-cells = <1>;
> - #size-cells = <1>;
> -
> - arm-pmu {
> - compatible = "arm,cortex-a7-pmu";
> - interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
> - interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
> - };
> -
> - cpus {
> - #address-cells = <1>;
> - #size-cells = <0>;
> -
> - cpu0: cpu@f00 {
> - device_type = "cpu";
> - compatible = "arm,cortex-a7";
> - reg = <0xf00>;
> - clock-latency = <40000>;
> - clocks = <&cru ARMCLK>;
> - operating-points = <
> - /* KHz uV */
> - 816000 1000000
> - >;
> - #cooling-cells = <2>; /* min followed by max */
> - };
All this patch is absolutely unreadable and unreviewable. Sorry, use the
tools to make review possible.
Best regards,
Krzysztof
--
linux-phy mailing list
linux-phy@lists.infradead.org
https://lists.infradead.org/mailman/listinfo/linux-phy
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Alex Bee <knaerzche@gmail.com>, Heiko Stuebner <heiko@sntech.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Lee Jones <lee@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>
Cc: Elaine Zhang <zhangqing@rock-chips.com>,
Johan Jonker <jbx6244@gmail.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org, alsa-devel@alsa-project.org,
linux-clk@vger.kernel.org, linux-phy@lists.infradead.org
Subject: Re: [PATCH 15/31] ARM: dts: rockchip: Split RK3128 devictree for RK312x SoC family
Date: Tue, 29 Aug 2023 19:24:21 +0200 [thread overview]
Message-ID: <89955853-c38a-cabc-e5dd-8582487b8fc9@linaro.org> (raw)
In-Reply-To: <20230829171647.187787-16-knaerzche@gmail.com>
On 29/08/2023 19:16, Alex Bee wrote:
> Currently there is only a SoC devicetree for RK3128 although RK312x
> SoC family consits of (at least) RK3126(C) and RK3128.
>
> This splits up the currently existing rk3128.dtsi in rk312x.dtsi which
> contains the common definitions for both SoCs and rk3128.dtsi, rk3126.dtsi
> respectivly.
typos here and before
>
> The differentiation between rk3126/rk3128 is already taken into account
> in the clock driver and they have their own compatibles.
> uart0 and i2c3 exist only in rk3128 SoC, thus they are moved to the new
> rk3128.dtsi.
>
> Signed-off-by: Alex Bee <knaerzche@gmail.com>
> ---
> arch/arm/boot/dts/rockchip/rk3126.dtsi | 9 +
> arch/arm/boot/dts/rockchip/rk3128.dtsi | 894 +------------------------
> arch/arm/boot/dts/rockchip/rk312x.dtsi | 893 ++++++++++++++++++++++++
Please generate your patches with proper -M/-B/-C arguments to detect
the rename/copy.
> 3 files changed, 909 insertions(+), 887 deletions(-)
> create mode 100644 arch/arm/boot/dts/rockchip/rk3126.dtsi
> create mode 100644 arch/arm/boot/dts/rockchip/rk312x.dtsi
>
> diff --git a/arch/arm/boot/dts/rockchip/rk3126.dtsi b/arch/arm/boot/dts/rockchip/rk3126.dtsi
> new file mode 100644
> index 000000000000..7345bd95d29d
> --- /dev/null
> +++ b/arch/arm/boot/dts/rockchip/rk3126.dtsi
> @@ -0,0 +1,9 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +/dts-v1/;
> +
> +#include "rk312x.dtsi"
> +
> +/ {
> + compatible = "rockchip,rk3126";
> +};
> diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi
> index f3f0788195d2..4c5c9728179e 100644
> --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi
> +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi
> @@ -1,360 +1,11 @@
> -// SPDX-License-Identifier: GPL-2.0+
> -/*
> - * (C) Copyright 2017 Rockchip Electronics Co., Ltd
> - */
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
This looks like relicensing, so without proper diff (see comment before)
it is a no-go.
>
> -#include <dt-bindings/clock/rk3128-cru.h>
> -#include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/interrupt-controller/arm-gic.h>
> -#include <dt-bindings/interrupt-controller/irq.h>
> -#include <dt-bindings/pinctrl/rockchip.h>
> +/dts-v1/;
> +
> +#include "rk312x.dtsi"
>
> / {
> compatible = "rockchip,rk3128";
> - interrupt-parent = <&gic>;
> - #address-cells = <1>;
> - #size-cells = <1>;
> -
> - arm-pmu {
> - compatible = "arm,cortex-a7-pmu";
> - interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
> - interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
> - };
> -
> - cpus {
> - #address-cells = <1>;
> - #size-cells = <0>;
> -
> - cpu0: cpu@f00 {
> - device_type = "cpu";
> - compatible = "arm,cortex-a7";
> - reg = <0xf00>;
> - clock-latency = <40000>;
> - clocks = <&cru ARMCLK>;
> - operating-points = <
> - /* KHz uV */
> - 816000 1000000
> - >;
> - #cooling-cells = <2>; /* min followed by max */
> - };
All this patch is absolutely unreadable and unreviewable. Sorry, use the
tools to make review possible.
Best regards,
Krzysztof
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Alex Bee <knaerzche@gmail.com>, Heiko Stuebner <heiko@sntech.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Lee Jones <lee@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>
Cc: Elaine Zhang <zhangqing@rock-chips.com>,
Johan Jonker <jbx6244@gmail.com>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
dri-devel@lists.freedesktop.org, alsa-devel@alsa-project.org,
linux-clk@vger.kernel.org, linux-phy@lists.infradead.org
Subject: Re: [PATCH 15/31] ARM: dts: rockchip: Split RK3128 devictree for RK312x SoC family
Date: Tue, 29 Aug 2023 19:24:21 +0200 [thread overview]
Message-ID: <89955853-c38a-cabc-e5dd-8582487b8fc9@linaro.org> (raw)
In-Reply-To: <20230829171647.187787-16-knaerzche@gmail.com>
On 29/08/2023 19:16, Alex Bee wrote:
> Currently there is only a SoC devicetree for RK3128 although RK312x
> SoC family consits of (at least) RK3126(C) and RK3128.
>
> This splits up the currently existing rk3128.dtsi in rk312x.dtsi which
> contains the common definitions for both SoCs and rk3128.dtsi, rk3126.dtsi
> respectivly.
typos here and before
>
> The differentiation between rk3126/rk3128 is already taken into account
> in the clock driver and they have their own compatibles.
> uart0 and i2c3 exist only in rk3128 SoC, thus they are moved to the new
> rk3128.dtsi.
>
> Signed-off-by: Alex Bee <knaerzche@gmail.com>
> ---
> arch/arm/boot/dts/rockchip/rk3126.dtsi | 9 +
> arch/arm/boot/dts/rockchip/rk3128.dtsi | 894 +------------------------
> arch/arm/boot/dts/rockchip/rk312x.dtsi | 893 ++++++++++++++++++++++++
Please generate your patches with proper -M/-B/-C arguments to detect
the rename/copy.
> 3 files changed, 909 insertions(+), 887 deletions(-)
> create mode 100644 arch/arm/boot/dts/rockchip/rk3126.dtsi
> create mode 100644 arch/arm/boot/dts/rockchip/rk312x.dtsi
>
> diff --git a/arch/arm/boot/dts/rockchip/rk3126.dtsi b/arch/arm/boot/dts/rockchip/rk3126.dtsi
> new file mode 100644
> index 000000000000..7345bd95d29d
> --- /dev/null
> +++ b/arch/arm/boot/dts/rockchip/rk3126.dtsi
> @@ -0,0 +1,9 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +/dts-v1/;
> +
> +#include "rk312x.dtsi"
> +
> +/ {
> + compatible = "rockchip,rk3126";
> +};
> diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi
> index f3f0788195d2..4c5c9728179e 100644
> --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi
> +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi
> @@ -1,360 +1,11 @@
> -// SPDX-License-Identifier: GPL-2.0+
> -/*
> - * (C) Copyright 2017 Rockchip Electronics Co., Ltd
> - */
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
This looks like relicensing, so without proper diff (see comment before)
it is a no-go.
>
> -#include <dt-bindings/clock/rk3128-cru.h>
> -#include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/interrupt-controller/arm-gic.h>
> -#include <dt-bindings/interrupt-controller/irq.h>
> -#include <dt-bindings/pinctrl/rockchip.h>
> +/dts-v1/;
> +
> +#include "rk312x.dtsi"
>
> / {
> compatible = "rockchip,rk3128";
> - interrupt-parent = <&gic>;
> - #address-cells = <1>;
> - #size-cells = <1>;
> -
> - arm-pmu {
> - compatible = "arm,cortex-a7-pmu";
> - interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
> - interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
> - };
> -
> - cpus {
> - #address-cells = <1>;
> - #size-cells = <0>;
> -
> - cpu0: cpu@f00 {
> - device_type = "cpu";
> - compatible = "arm,cortex-a7";
> - reg = <0xf00>;
> - clock-latency = <40000>;
> - clocks = <&cru ARMCLK>;
> - operating-points = <
> - /* KHz uV */
> - 816000 1000000
> - >;
> - #cooling-cells = <2>; /* min followed by max */
> - };
All this patch is absolutely unreadable and unreviewable. Sorry, use the
tools to make review possible.
Best regards,
Krzysztof
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: Alex Bee <knaerzche@gmail.com>, Heiko Stuebner <heiko@sntech.de>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>,
David Airlie <airlied@gmail.com>, Daniel Vetter <daniel@ffwll.ch>,
Lee Jones <lee@kernel.org>, Liam Girdwood <lgirdwood@gmail.com>,
Mark Brown <broonie@kernel.org>,
Michael Turquette <mturquette@baylibre.com>,
Stephen Boyd <sboyd@kernel.org>, Vinod Koul <vkoul@kernel.org>,
Kishon Vijay Abraham I <kishon@kernel.org>
Cc: devicetree@vger.kernel.org, alsa-devel@alsa-project.org,
Elaine Zhang <zhangqing@rock-chips.com>,
linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org,
linux-rockchip@lists.infradead.org,
linux-phy@lists.infradead.org, Johan Jonker <jbx6244@gmail.com>,
linux-clk@vger.kernel.org, linux-arm-kernel@lists.infradead.org
Subject: Re: [PATCH 15/31] ARM: dts: rockchip: Split RK3128 devictree for RK312x SoC family
Date: Tue, 29 Aug 2023 19:24:21 +0200 [thread overview]
Message-ID: <89955853-c38a-cabc-e5dd-8582487b8fc9@linaro.org> (raw)
In-Reply-To: <20230829171647.187787-16-knaerzche@gmail.com>
On 29/08/2023 19:16, Alex Bee wrote:
> Currently there is only a SoC devicetree for RK3128 although RK312x
> SoC family consits of (at least) RK3126(C) and RK3128.
>
> This splits up the currently existing rk3128.dtsi in rk312x.dtsi which
> contains the common definitions for both SoCs and rk3128.dtsi, rk3126.dtsi
> respectivly.
typos here and before
>
> The differentiation between rk3126/rk3128 is already taken into account
> in the clock driver and they have their own compatibles.
> uart0 and i2c3 exist only in rk3128 SoC, thus they are moved to the new
> rk3128.dtsi.
>
> Signed-off-by: Alex Bee <knaerzche@gmail.com>
> ---
> arch/arm/boot/dts/rockchip/rk3126.dtsi | 9 +
> arch/arm/boot/dts/rockchip/rk3128.dtsi | 894 +------------------------
> arch/arm/boot/dts/rockchip/rk312x.dtsi | 893 ++++++++++++++++++++++++
Please generate your patches with proper -M/-B/-C arguments to detect
the rename/copy.
> 3 files changed, 909 insertions(+), 887 deletions(-)
> create mode 100644 arch/arm/boot/dts/rockchip/rk3126.dtsi
> create mode 100644 arch/arm/boot/dts/rockchip/rk312x.dtsi
>
> diff --git a/arch/arm/boot/dts/rockchip/rk3126.dtsi b/arch/arm/boot/dts/rockchip/rk3126.dtsi
> new file mode 100644
> index 000000000000..7345bd95d29d
> --- /dev/null
> +++ b/arch/arm/boot/dts/rockchip/rk3126.dtsi
> @@ -0,0 +1,9 @@
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
> +
> +/dts-v1/;
> +
> +#include "rk312x.dtsi"
> +
> +/ {
> + compatible = "rockchip,rk3126";
> +};
> diff --git a/arch/arm/boot/dts/rockchip/rk3128.dtsi b/arch/arm/boot/dts/rockchip/rk3128.dtsi
> index f3f0788195d2..4c5c9728179e 100644
> --- a/arch/arm/boot/dts/rockchip/rk3128.dtsi
> +++ b/arch/arm/boot/dts/rockchip/rk3128.dtsi
> @@ -1,360 +1,11 @@
> -// SPDX-License-Identifier: GPL-2.0+
> -/*
> - * (C) Copyright 2017 Rockchip Electronics Co., Ltd
> - */
> +// SPDX-License-Identifier: (GPL-2.0+ OR MIT)
This looks like relicensing, so without proper diff (see comment before)
it is a no-go.
>
> -#include <dt-bindings/clock/rk3128-cru.h>
> -#include <dt-bindings/gpio/gpio.h>
> -#include <dt-bindings/interrupt-controller/arm-gic.h>
> -#include <dt-bindings/interrupt-controller/irq.h>
> -#include <dt-bindings/pinctrl/rockchip.h>
> +/dts-v1/;
> +
> +#include "rk312x.dtsi"
>
> / {
> compatible = "rockchip,rk3128";
> - interrupt-parent = <&gic>;
> - #address-cells = <1>;
> - #size-cells = <1>;
> -
> - arm-pmu {
> - compatible = "arm,cortex-a7-pmu";
> - interrupts = <GIC_SPI 76 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 77 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 78 IRQ_TYPE_LEVEL_HIGH>,
> - <GIC_SPI 79 IRQ_TYPE_LEVEL_HIGH>;
> - interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>;
> - };
> -
> - cpus {
> - #address-cells = <1>;
> - #size-cells = <0>;
> -
> - cpu0: cpu@f00 {
> - device_type = "cpu";
> - compatible = "arm,cortex-a7";
> - reg = <0xf00>;
> - clock-latency = <40000>;
> - clocks = <&cru ARMCLK>;
> - operating-points = <
> - /* KHz uV */
> - 816000 1000000
> - >;
> - #cooling-cells = <2>; /* min followed by max */
> - };
All this patch is absolutely unreadable and unreviewable. Sorry, use the
tools to make review possible.
Best regards,
Krzysztof
next prev parent reply other threads:[~2023-08-29 17:25 UTC|newest]
Thread overview: 235+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-08-29 17:16 [PATCH 00/31] Fix and improve Rockchip RK3128 support Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 01/31] dt-bindings: mfd: syscon: Add rockchip,rk3128-qos compatible Alex Bee
2023-08-29 17:16 ` [PATCH 01/31] dt-bindings: mfd: syscon: Add rockchip, rk3128-qos compatible Alex Bee
2023-08-29 17:16 ` [PATCH 01/31] dt-bindings: mfd: syscon: Add rockchip,rk3128-qos compatible Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:20 ` Krzysztof Kozlowski
2023-08-29 17:20 ` Krzysztof Kozlowski
2023-08-29 17:20 ` Krzysztof Kozlowski
2023-08-29 17:20 ` Krzysztof Kozlowski
2023-08-29 17:20 ` Krzysztof Kozlowski
2023-09-20 9:36 ` (subset) " Lee Jones
2023-09-20 9:36 ` Lee Jones
2023-09-20 9:36 ` Lee Jones
2023-09-20 9:36 ` Lee Jones
2023-09-20 9:36 ` Lee Jones
2023-08-29 17:16 ` [PATCH 02/31] dt-bindings: gpu: mali-utgard: Add Rockchip RK3128 compatible Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:20 ` Krzysztof Kozlowski
2023-08-29 17:20 ` Krzysztof Kozlowski
2023-08-29 17:20 ` Krzysztof Kozlowski
2023-08-29 17:20 ` Krzysztof Kozlowski
2023-08-29 17:20 ` Krzysztof Kozlowski
2023-08-29 17:16 ` [PATCH 03/31] dt-bindings: ASoC: rockchip: Add compatible for RK3128 spdif Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:21 ` Krzysztof Kozlowski
2023-08-29 17:21 ` Krzysztof Kozlowski
2023-08-29 17:21 ` Krzysztof Kozlowski
2023-08-29 17:21 ` Krzysztof Kozlowski
2023-08-29 17:21 ` Krzysztof Kozlowski
2023-08-29 17:16 ` [PATCH 04/31] dt-bindings: arm: rockchip: Add Geniatech XPI-3128 Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:22 ` Krzysztof Kozlowski
2023-08-29 17:22 ` Krzysztof Kozlowski
2023-08-29 17:22 ` Krzysztof Kozlowski
2023-08-29 17:22 ` Krzysztof Kozlowski
2023-08-29 17:22 ` Krzysztof Kozlowski
2023-08-29 17:16 ` [PATCH 05/31] clk: rockchip: rk3128: Fix aclk_peri_src parent Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:40 ` Krzysztof Kozlowski
2023-08-29 17:40 ` Krzysztof Kozlowski
2023-08-29 17:40 ` Krzysztof Kozlowski
2023-08-29 17:40 ` Krzysztof Kozlowski
2023-08-29 17:40 ` Krzysztof Kozlowski
2023-08-29 18:36 ` Alex Bee
2023-08-29 18:36 ` Alex Bee
2023-08-29 18:36 ` Alex Bee
2023-08-29 18:36 ` Alex Bee
2023-08-29 18:36 ` Alex Bee
2023-08-29 17:16 ` [PATCH 06/31] clk: rockchip: rk3128: Fix hclk_otg gate Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 07/31] clk: rockchip: rk3128: Fix SCLK_SDMMC's clock name Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 08/31] phy: rockchip-inno-usb2: Split ID interrupt phy registers Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-09-21 13:43 ` Vinod Koul
2023-09-21 13:43 ` Vinod Koul
2023-09-21 13:43 ` Vinod Koul
2023-09-21 13:43 ` Vinod Koul
2023-09-21 13:43 ` Vinod Koul
2023-08-29 17:16 ` [PATCH 09/31] phy: phy-rockchip-inno-usb2: Add RK3128 support Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 10/31] ARM: dts: rockchip: Fix i2c0 register address for RK3128 Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 11/31] ARM: dts: rockchip: Add missing arm timer interrupt " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 12/31] ARM: dts: rockchip: Add missing quirk for RK3128's dma engine Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 13/31] ARM: dts: rockchip: Fix timer clocks for RK3128 Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 14/31] ARM: dts: rockchip: Disable non-required timers " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 15/31] ARM: dts: rockchip: Split RK3128 devictree for RK312x SoC family Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:24 ` Krzysztof Kozlowski [this message]
2023-08-29 17:24 ` Krzysztof Kozlowski
2023-08-29 17:24 ` Krzysztof Kozlowski
2023-08-29 17:24 ` Krzysztof Kozlowski
2023-08-29 17:24 ` Krzysztof Kozlowski
2023-08-29 17:16 ` [PATCH 16/31] ARM: dts: rockchip: Add SRAM node for RK312x Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:25 ` Krzysztof Kozlowski
2023-08-29 17:25 ` Krzysztof Kozlowski
2023-08-29 17:25 ` Krzysztof Kozlowski
2023-08-29 17:25 ` Krzysztof Kozlowski
2023-08-29 17:25 ` Krzysztof Kozlowski
2023-08-29 17:16 ` [PATCH 17/31] ARM: dts: rockchip: Add CPU resets " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:25 ` Krzysztof Kozlowski
2023-08-29 17:25 ` Krzysztof Kozlowski
2023-08-29 17:25 ` Krzysztof Kozlowski
2023-08-29 17:25 ` Krzysztof Kozlowski
2023-08-29 17:25 ` Krzysztof Kozlowski
2023-08-29 17:16 ` [PATCH 18/31] ARM: dts: rockchip: Enable SMP bringup " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 19/31] ARM: dts: rockchip: Switch to operating-points-v2 for RK312x's CPU Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 20/31] ARM: dts: rockchip: Add extra CPU voltages for RK3126 Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 21/31] ARM: dts: rockchip: add power controller for RK312x Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 22/31] ARM: dts: rockchip: Add GPU node " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 23/31] ARM: dts: rockchip: Add 2-channel I2S " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 24/31] ARM: dts: rockchip: Add 8-channel I2S for RK3128 Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 25/31] ARM: dts: rockchip: Add spdif " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 26/31] ARM: dts: rockchip: Add gmac " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 27/31] ARM: dts: rockchip: Add dwc2 otg fifo siztes for RK312x Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 28/31] ARM: dts: rockchip: Add USB host clocks " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 29/31] ARM: dts: rockchip: Make usbphy the parent of SCLK_USB480M " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 30/31] ARM: dts: rockchip: Add sdmmc_det pinctrl " Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` [PATCH 31/31] ARM: dts: Add Geniatech XPI-3128 RK3128 board Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-08-29 17:16 ` Alex Bee
2023-09-26 8:08 ` (subset) [PATCH 00/31] Fix and improve Rockchip RK3128 support Mark Brown
2023-09-26 8:08 ` Mark Brown
2023-09-26 8:08 ` Mark Brown
2023-09-26 8:08 ` Mark Brown
2023-09-26 8:08 ` Mark Brown
2023-11-27 13:22 ` Vinod Koul
2023-11-27 13:22 ` Vinod Koul
2023-11-27 13:22 ` Vinod Koul
2023-11-27 13:22 ` Vinod Koul
2023-11-27 13:22 ` Vinod Koul
2023-12-12 20:03 ` Heiko Stuebner
2023-12-12 20:03 ` Heiko Stuebner
2023-12-12 20:03 ` Heiko Stuebner
2023-12-12 20:03 ` Heiko Stuebner
2023-12-12 20:03 ` Heiko Stuebner
2023-12-13 20:29 ` Alex Bee
2023-12-13 20:29 ` Alex Bee
2023-12-13 20:29 ` Alex Bee
2023-12-13 20:29 ` Alex Bee
2023-12-13 20:29 ` Alex Bee
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=89955853-c38a-cabc-e5dd-8582487b8fc9@linaro.org \
--to=krzysztof.kozlowski@linaro.org \
--cc=airlied@gmail.com \
--cc=alsa-devel@alsa-project.org \
--cc=broonie@kernel.org \
--cc=conor+dt@kernel.org \
--cc=daniel@ffwll.ch \
--cc=devicetree@vger.kernel.org \
--cc=dri-devel@lists.freedesktop.org \
--cc=heiko@sntech.de \
--cc=jbx6244@gmail.com \
--cc=kishon@kernel.org \
--cc=knaerzche@gmail.com \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-phy@lists.infradead.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=mturquette@baylibre.com \
--cc=robh+dt@kernel.org \
--cc=sboyd@kernel.org \
--cc=vkoul@kernel.org \
--cc=zhangqing@rock-chips.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.