mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Michal Simek <michal.simek@amd.com>
To: linux-kernel@vger.kernel.org, monstr@monstr.eu, git@amd.com
Cc: Conor Dooley <conor+dt@kernel.org>,
	Krzysztof Kozlowski <krzk+dt@kernel.org>,
	Rob Herring <robh@kernel.org>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>,
	"moderated list:ARM/ZYNQ ARCHITECTURE"
	<linux-arm-kernel@lists.infradead.org>
Subject: Re: [PATCH] arm64: zynqmp: Remove ina260 IIO description
Date: Tue, 6 Jan 2026 12:33:47 +0100	[thread overview]
Message-ID: <41d14f57-8db5-4639-930b-6853cf2344fd@amd.com> (raw)
In-Reply-To: <7e57f76deca9e73be3fcb914aed119f567c9bf8a.1765785722.git.michal.simek@amd.com>



On 12/15/25 09:02, Michal Simek wrote:
> Kernel has only hwmon driver that's why there is no reason to wire iio to
> hwmon converter which was describing out of tree ina260 IIO.
> 
> Signed-off-by: Michal Simek <michal.simek@amd.com>
> ---
> 
> Upstreaming of ina260 IIO driver was tried here.
> https://lore.kernel.org/all/20210322105056.30571-1-raviteja.narayanam@xilinx.com/
> ---
>   arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dtso | 6 ------
>   arch/arm64/boot/dts/xilinx/zynqmp-sck-kr-g-revA.dtso | 6 ------
>   arch/arm64/boot/dts/xilinx/zynqmp-sck-kr-g-revB.dtso | 6 ------
>   arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso | 6 ------
>   arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso | 6 ------
>   5 files changed, 30 deletions(-)
> 
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dtso
> index 02be5e1e8686..832dc5ab2458 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dtso
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kd-g-revA.dtso
> @@ -26,11 +26,6 @@ aliases {
>   		ethernet0 = "/axi/ethernet@ff0c0000"; /* &gem1 */
>   	};
>   
> -	ina260-u3 {
> -		compatible = "iio-hwmon";
> -		io-channels = <&u3 0>, <&u3 1>, <&u3 2>;
> -	};
> -
>   	clk_26: clock2 { /* u17 - USB */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
> @@ -67,7 +62,6 @@ &i2c1 { /* I2C_SCK C26/C27 - MIO from SOM */
>   
>   	u3: ina260@40 { /* u3 */
>   		compatible = "ti,ina260";
> -		#io-channel-cells = <1>;
>   		label = "ina260-u14";
>   		reg = <0x40>;
>   	};
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kr-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kr-g-revA.dtso
> index b92dcb86e87e..b88efcce0162 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kr-g-revA.dtso
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kr-g-revA.dtso
> @@ -25,11 +25,6 @@ aliases {
>   		ethernet1 = "/axi/ethernet@ff0c0000"; /* &gem1 */
>   	};
>   
> -	ina260-u14 {
> -		compatible = "iio-hwmon";
> -		io-channels = <&u14 0>, <&u14 1>, <&u14 2>;
> -	};
> -
>   	clk_27: clock0 { /* u86 - DP */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
> @@ -95,7 +90,6 @@ &i2c1 { /* I2C_SCK C26/C27 - MIO from SOM */
>   
>   	u14: ina260@40 { /* u14 */
>   		compatible = "ti,ina260";
> -		#io-channel-cells = <1>;
>   		label = "ina260-u14";
>   		reg = <0x40>;
>   	};
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kr-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kr-g-revB.dtso
> index 99ad220d13d6..817797b21679 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kr-g-revB.dtso
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kr-g-revB.dtso
> @@ -25,11 +25,6 @@ aliases {
>   		ethernet1 = "/axi/ethernet@ff0c0000"; /* &gem1 */
>   	};
>   
> -	ina260-u14 {
> -		compatible = "iio-hwmon";
> -		io-channels = <&u14 0>, <&u14 1>, <&u14 2>;
> -	};
> -
>   	clk_125: clock0 { /* u87 - GEM0/1 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
> @@ -96,7 +91,6 @@ &i2c1 { /* I2C_SCK C26/C27 - MIO from SOM */
>   
>   	u14: ina260@40 { /* u14 */
>   		compatible = "ti,ina260";
> -		#io-channel-cells = <1>;
>   		label = "ina260-u14";
>   		reg = <0x40>;
>   	};
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
> index d7351a17d3e8..923a70d750bf 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revA.dtso
> @@ -32,11 +32,6 @@ aliases {
>   		ethernet0 = "/axi/ethernet@ff0e0000"; /* &gem3 */
>   	};
>   
> -	ina260-u14 {
> -		compatible = "iio-hwmon";
> -		io-channels = <&u14 0>, <&u14 1>, <&u14 2>;
> -	};
> -
>   	si5332_0: si5332-0 { /* u17 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
> @@ -96,7 +91,6 @@ &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
>   
>   	u14: ina260@40 { /* u14 */
>   		compatible = "ti,ina260";
> -		#io-channel-cells = <1>;
>   		label = "ina260-u14";
>   		reg = <0x40>;
>   	};
> diff --git a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
> index a4ae37ebaccf..563e750b0e08 100644
> --- a/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
> +++ b/arch/arm64/boot/dts/xilinx/zynqmp-sck-kv-g-revB.dtso
> @@ -27,11 +27,6 @@ aliases {
>   		ethernet0 = "/axi/ethernet@ff0e0000"; /* &gem3 */
>   	};
>   
> -	ina260-u14 {
> -		compatible = "iio-hwmon";
> -		io-channels = <&u14 0>, <&u14 1>, <&u14 2>;
> -	};
> -
>   	si5332_0: si5332-0 { /* u17 */
>   		compatible = "fixed-clock";
>   		#clock-cells = <0>;
> @@ -92,7 +87,6 @@ &i2c1 { /* I2C_SCK C23/C24 - MIO from SOM */
>   
>   	u14: ina260@40 { /* u14 */
>   		compatible = "ti,ina260";
> -		#io-channel-cells = <1>;
>   		label = "ina260-u14";
>   		reg = <0x40>;
>   	};

Applied.
M

      reply	other threads:[~2026-01-06 11:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-15  8:02 Michal Simek
2026-01-06 11:33 ` Michal Simek [this message]

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=41d14f57-8db5-4639-930b-6853cf2344fd@amd.com \
    --to=michal.simek@amd.com \
    --cc=conor+dt@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=git@amd.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=monstr@monstr.eu \
    --cc=robh@kernel.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®