Linux kernel and device drivers for NXP i.MX platforms
 help / color / mirror / Atom feed
From: Christoph Niedermaier <cniedermaier@dh-electronics.com>
To: Marek Vasut <marex@nabladev.com>, Conor Dooley <conor@kernel.org>
Cc: "Frank.Li@oss.nxp.com" <Frank.Li@oss.nxp.com>,
	"imx@lists.linux.dev" <imx@lists.linux.dev>,
	Guenter Roeck <linux@roeck-us.net>,
	Jonathan Cameron <jonathan.cameron@oss.qualcomm.com>,
	Frank Li <Frank.Li@nxp.com>,
	"Ashish Yadav" <ashish.yadav@infineon.com>,
	Colin Huang <u8813345@gmail.com>,
	"Sanman Pradhan" <psanman@juniper.net>,
	Thorsten Blum <blum@kernel.org>,
	Troy Mitchell <troy.mitchell@linux.dev>,
	Eddie James <eajames@linux.ibm.com>,
	Rodrigo Gobbi <rodrigo.gobbi.7@gmail.com>,
	"open list:SPI SUBSYSTEM" <linux-spi@vger.kernel.org>,
	"open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS"
	<devicetree@vger.kernel.org>, kernel <kernel@dh-electronics.com>,
	open list <linux-kernel@vger.kernel.org>,
	"Mark Brown" <broonie@kernel.org>, Rob Herring <robh@kernel.org>,
	"Krzysztof Kozlowski" <krzk+dt@kernel.org>,
	Conor Dooley <conor+dt@kernel.org>
Subject: RE: [PATCH 1/1] dt-bindings: spi: Add separate binding for dh,dhcom-board
Date: Thu, 22 Oct 2026 13:23:33 +0000	[thread overview]
Message-ID: <420d783dcdf44abf81d09931bd514b3f@dh-electronics.com> (raw)
In-Reply-To: <087bdc09-cf57-444e-aa29-f977998b0024@nabladev.com>

From: Marek Vasut <marex@nabladev.com>
Sent: Tuesday, October 20, 2026 4:41 PM
>>>>>>> +++ b/Documentation/devicetree/bindings/spi/dh,dhcom-board.yaml
>>>>>>> @@ -0,0 +1,46 @@
>>>>>>> +# SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
>>>>>>> +%YAML 1.2
>>>>>>> +---
>>>>>>> +$id: http://devicetree.org/schemas/spi/dh,dhcom-board.yaml#
>>>>>>> +$schema: http://devicetree.org/meta-schemas/core.yaml#
>>>>>>> +
>>>>>>> +title: DH electronics GmbH on-board CPLD trivial SPI device
>>>>>>
>>>>>> This does not look quite right, since compatible this is used only on:
>>>>>>
>>>>>> arch/arm/boot/dts/imx6ull-dhcor-maveo-box.dts
>>>>>>
>>>>>>          model = "DH electronics i.MX6ULL DHCOR on maveo box";
>>>>>>          compatible = "marantec,imx6ull-dhcor-maveo-box",
>>>>>> "dh,imx6ull-dhcor-som",
>>>>>>
>>>>>> So the whole
>>>>>>
>>>>>>          spidev@0 {
>>>>>>                  compatible = "dh,dhcom-board";
>>>>>>                  reg = <0>;
>>>>>>                  spi-cpha;
>>>>>>                  spi-cpol;
>>>>>>                  spi-max-frequency = <54000000>;
>>>>>>          };
>>>>>>
>>>>>> Should probably use a different compatible.
>>>>>>
>>>>>> Christoph, what device is this on this board ?
>>
>> There is no device connected to these pins, only an extension connector.
>> The "dh,dhcom-board" device was used only to test the hardware and was
>> unfortunately forgotten to be removed. In the production version, no
>> device is connected to this interface. It should actually be removed.
>> Should I create a patch for this?
> 
> In that case, I would suggest to remove this whole spidev@0 from this DT
> with proper Fixes: tag .
> 
> [...]
> 
> >>> But in any case, the compatible string should likely be fixed here, this
> >>> does not seem right. The dh,dhcom-board was describing some CPLD/FPGA on one
> >>> of the evalboards.
> >>
> >> Ye I don't disagree there. "dhcom-board" seems not nearly specific
> >> enough about what the device is.
> >
> > There isn't actually a user for this device, see above. It's only used downstream
> > at DH electronics for a connection to a PSoC chip. But even for this purpose, it's
> > not being used correctly. What should we do now?
> I think this patch can also be dropped, the dh,dhcom-board would be left
> as a legacy compatible for the CPLD/FPGA on the DHCOM PDK2 board (where
> it is not described yet, but should be) , and the dh-dhcom-board should
> remain a trivial device, since the CPLD/FPGA is connected via some
> parallel bus if I recall it right ?

Yes, on the PDK2 the CPLD/FPGA is connected via a parallel bus.

Regards
Christoph

  reply	other threads:[~2026-10-22 13:24 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-10-16 20:57 [PATCH 1/1] dt-bindings: spi: Add separate binding for dh,dhcom-board Frank.Li
2026-10-16 22:01 ` Marek Vasut
2026-10-18 19:37   ` Conor Dooley
2026-10-18 21:38     ` Marek Vasut
2026-10-19 18:23       ` Conor Dooley
2026-10-20 13:33         ` Christoph Niedermaier
2026-10-20 14:41           ` Marek Vasut
2026-10-22 13:23             ` Christoph Niedermaier [this message]
2026-10-20 15:25           ` Frank Li

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=420d783dcdf44abf81d09931bd514b3f@dh-electronics.com \
    --to=cniedermaier@dh-electronics.com \
    --cc=Frank.Li@nxp.com \
    --cc=Frank.Li@oss.nxp.com \
    --cc=ashish.yadav@infineon.com \
    --cc=blum@kernel.org \
    --cc=broonie@kernel.org \
    --cc=conor+dt@kernel.org \
    --cc=conor@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=eajames@linux.ibm.com \
    --cc=imx@lists.linux.dev \
    --cc=jonathan.cameron@oss.qualcomm.com \
    --cc=kernel@dh-electronics.com \
    --cc=krzk+dt@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-spi@vger.kernel.org \
    --cc=linux@roeck-us.net \
    --cc=marex@nabladev.com \
    --cc=psanman@juniper.net \
    --cc=robh@kernel.org \
    --cc=rodrigo.gobbi.7@gmail.com \
    --cc=troy.mitchell@linux.dev \
    --cc=u8813345@gmail.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox