From: Dragan Simic <dsimic@manjaro.org>
To: Conor Dooley <conor@kernel.org>
Cc: linux-kernel@vger.kernel.org,
Conor Dooley <conor.dooley@microchip.com>,
Dinh Nguyen <dinguyen@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>, Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Huacai Chen <chenhuacai@kernel.org>,
WANG Xuerui <kernel@xen0n.name>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, imx@lists.linux.dev,
loongarch@lists.linux.dev
Subject: Re: [PATCH v1 2/4] ARM: dts: rockchip: remove unlikly-to-exist DAC from elgin-r1
Date: Thu, 18 Jul 2024 06:46:32 +0200 [thread overview]
Message-ID: <b63ca795e5155dff13b3afa571869ea8@manjaro.org> (raw)
In-Reply-To: <9a492f785e0851a828e0864c33204920@manjaro.org>
On 2024-07-18 06:20, Dragan Simic wrote:
> Hello Conor,
>
> On 2024-07-17 11:37, Conor Dooley wrote:
>> From: Conor Dooley <conor.dooley@microchip.com>
>>
>> The Rohm dh2228fv (really the bh2228fv, the compatible in the kernel
>> has
>> a typo) does not support frequencies above 10 MHz, nor per the
>> datasheet appear to use either CPOL or CPHA. I suspect that this
>> devicetree is abusing the compatible in order to bind the spidev
>> driver
>> in Linux. Pretending to have devices on a board for this purpose is
>> not
>> acceptable, so remove it.
>>
>> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
>
> There's a small typo in the patch subject:
> s/unlikly/unlikely/
Ah, sorry for the noise, I see now it's been pointed out already.
>> ---
>> I could not find any documentation for this board online, and it does
>> not blatantly say that the device is a "spidev" like other [ab]users,
>> so
>> it is possible there's actually a DAC here - but I doubt it is a
>> bh2228fv given the other incompatibilities.
>> ---
>> arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts | 8 --------
>> 1 file changed, 8 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
>> b/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
>> index 2d9994379eb2..9df1cef406c5 100644
>> --- a/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
>> +++ b/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
>> @@ -167,14 +167,6 @@ &spi {
>> pinctrl-names = "default";
>> pinctrl-0 = <&spim1_clk &spim1_cs0 &spim1_tx &spim1_rx>;
>> status = "okay";
>> -
>> - dh2228fv: dac@0 {
>> - compatible = "rohm,dh2228fv";
>> - reg = <0>;
>> - spi-max-frequency = <24000000>;
>> - spi-cpha;
>> - spi-cpol;
>> - };
>> };
>>
>> &u2phy {
>
> _______________________________________________
> 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: Dragan Simic <dsimic@manjaro.org>
To: Conor Dooley <conor@kernel.org>
Cc: linux-kernel@vger.kernel.org,
Conor Dooley <conor.dooley@microchip.com>,
Dinh Nguyen <dinguyen@kernel.org>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Heiko Stuebner <heiko@sntech.de>, Shawn Guo <shawnguo@kernel.org>,
Sascha Hauer <s.hauer@pengutronix.de>,
Pengutronix Kernel Team <kernel@pengutronix.de>,
Fabio Estevam <festevam@gmail.com>,
Huacai Chen <chenhuacai@kernel.org>,
WANG Xuerui <kernel@xen0n.name>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, imx@lists.linux.dev,
loongarch@lists.linux.dev
Subject: Re: [PATCH v1 2/4] ARM: dts: rockchip: remove unlikly-to-exist DAC from elgin-r1
Date: Thu, 18 Jul 2024 06:46:32 +0200 [thread overview]
Message-ID: <b63ca795e5155dff13b3afa571869ea8@manjaro.org> (raw)
In-Reply-To: <9a492f785e0851a828e0864c33204920@manjaro.org>
On 2024-07-18 06:20, Dragan Simic wrote:
> Hello Conor,
>
> On 2024-07-17 11:37, Conor Dooley wrote:
>> From: Conor Dooley <conor.dooley@microchip.com>
>>
>> The Rohm dh2228fv (really the bh2228fv, the compatible in the kernel
>> has
>> a typo) does not support frequencies above 10 MHz, nor per the
>> datasheet appear to use either CPOL or CPHA. I suspect that this
>> devicetree is abusing the compatible in order to bind the spidev
>> driver
>> in Linux. Pretending to have devices on a board for this purpose is
>> not
>> acceptable, so remove it.
>>
>> Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
>
> There's a small typo in the patch subject:
> s/unlikly/unlikely/
Ah, sorry for the noise, I see now it's been pointed out already.
>> ---
>> I could not find any documentation for this board online, and it does
>> not blatantly say that the device is a "spidev" like other [ab]users,
>> so
>> it is possible there's actually a DAC here - but I doubt it is a
>> bh2228fv given the other incompatibilities.
>> ---
>> arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts | 8 --------
>> 1 file changed, 8 deletions(-)
>>
>> diff --git a/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
>> b/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
>> index 2d9994379eb2..9df1cef406c5 100644
>> --- a/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
>> +++ b/arch/arm/boot/dts/rockchip/rv1108-elgin-r1.dts
>> @@ -167,14 +167,6 @@ &spi {
>> pinctrl-names = "default";
>> pinctrl-0 = <&spim1_clk &spim1_cs0 &spim1_tx &spim1_rx>;
>> status = "okay";
>> -
>> - dh2228fv: dac@0 {
>> - compatible = "rohm,dh2228fv";
>> - reg = <0>;
>> - spi-max-frequency = <24000000>;
>> - spi-cpha;
>> - spi-cpol;
>> - };
>> };
>>
>> &u2phy {
>
> _______________________________________________
> Linux-rockchip mailing list
> Linux-rockchip@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/linux-rockchip
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2024-07-18 4:46 UTC|newest]
Thread overview: 38+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-17 9:37 [PATCH v1 0/4] Removal of non-existent DAC nodes Conor Dooley
2024-07-17 9:37 ` Conor Dooley
2024-07-17 9:37 ` [PATCH v1 1/4] arm64: dts: imx8: remove non-existent DACs Conor Dooley
2024-07-17 9:37 ` Conor Dooley
2024-07-17 9:38 ` Krzysztof Kozlowski
2024-07-17 9:38 ` Krzysztof Kozlowski
2024-08-12 9:43 ` Shawn Guo
2024-08-12 9:43 ` Shawn Guo
2024-07-17 9:37 ` [PATCH v1 2/4] ARM: dts: rockchip: remove unlikly-to-exist DAC from elgin-r1 Conor Dooley
2024-07-17 9:37 ` Conor Dooley
2024-07-17 9:39 ` Krzysztof Kozlowski
2024-07-17 9:39 ` Krzysztof Kozlowski
2024-07-17 10:18 ` Heiko Stübner
2024-07-17 10:18 ` Heiko Stübner
[not found] ` <CAP9ODKrpKDY91AFDYj7s++kU+=CSLw=F9mXyLZ621Mqq-8S6bw@mail.gmail.com>
2024-07-17 15:34 ` Fabio Estevam
2024-07-17 15:34 ` Fabio Estevam
2024-07-17 16:39 ` Conor Dooley
2024-07-17 16:39 ` Conor Dooley
2024-07-17 16:46 ` Fabio Estevam
2024-07-17 16:46 ` Fabio Estevam
2024-07-18 4:20 ` Dragan Simic
2024-07-18 4:20 ` Dragan Simic
2024-07-18 4:46 ` Dragan Simic [this message]
2024-07-18 4:46 ` Dragan Simic
2024-07-17 9:37 ` [PATCH v1 3/4] loongarch: dts: remove non-existent DAC from 2k1000-ref Conor Dooley
2024-07-17 9:37 ` Conor Dooley
2024-07-17 9:39 ` Krzysztof Kozlowski
2024-07-17 9:39 ` Krzysztof Kozlowski
2024-07-17 9:37 ` [PATCH v1 4/4] ARM: dts: socfpga: remove non-existent DAC from CycloneV devkit Conor Dooley
2024-07-17 9:37 ` Conor Dooley
2024-07-17 9:39 ` Krzysztof Kozlowski
2024-07-17 9:39 ` Krzysztof Kozlowski
2024-12-29 10:09 ` (subset) " Krzysztof Kozlowski
2024-12-29 10:09 ` Krzysztof Kozlowski
2025-02-12 20:49 ` (subset) [PATCH v1 0/4] Removal of non-existent DAC nodes Krzysztof Kozlowski
2025-02-12 20:49 ` Krzysztof Kozlowski
2025-02-13 20:05 ` Conor Dooley
2025-02-13 20:05 ` Conor Dooley
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=b63ca795e5155dff13b3afa571869ea8@manjaro.org \
--to=dsimic@manjaro.org \
--cc=chenhuacai@kernel.org \
--cc=conor+dt@kernel.org \
--cc=conor.dooley@microchip.com \
--cc=conor@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=dinguyen@kernel.org \
--cc=festevam@gmail.com \
--cc=heiko@sntech.de \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=kernel@xen0n.name \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=loongarch@lists.linux.dev \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=shawnguo@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 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.