From: Krzysztof Kozlowski <krzk@kernel.org>
To: Chancel Liu <chancel.liu@nxp.com>
Cc: "robh@kernel.org" <robh@kernel.org>,
"krzk+dt@kernel.org" <krzk+dt@kernel.org>,
"conor+dt@kernel.org" <conor+dt@kernel.org>,
Frank Li <frank.li@nxp.com>,
"s.hauer@pengutronix.de" <s.hauer@pengutronix.de>,
"festevam@gmail.com" <festevam@gmail.com>,
"mturquette@baylibre.com" <mturquette@baylibre.com>,
"sboyd@kernel.org" <sboyd@kernel.org>,
"kernel@pengutronix.de" <kernel@pengutronix.de>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"imx@lists.linux.dev" <imx@lists.linux.dev>,
"linux-arm-kernel@lists.infradead.org"
<linux-arm-kernel@lists.infradead.org>,
"linux-clk@vger.kernel.org" <linux-clk@vger.kernel.org>
Subject: Re: [PATCH 2/5] dt-bindings: connector: Add fsl,io-connector binding
Date: Mon, 18 May 2026 09:07:21 +0200 [thread overview]
Message-ID: <d2b13e51-1684-4acb-a5ed-294c8aa95906@kernel.org> (raw)
In-Reply-To: <AM9PR04MB8353FE81D06852D45514E460E3032@AM9PR04MB8353.eurprd04.prod.outlook.com>
On 18/05/2026 06:18, Chancel Liu wrote:
>>> +description:
>>> + The NXP I/O connector represents a physically present I/O connector
>>> +on the
>>> + base board. It acts as a nexus that exposes a constrained set of
>>> +I/O
>>> + resources, such as GPIOs, clocks, PWMs and interrupts, through
>>> +fixed
>>> + electrical wiring. All actual hardware providers reside on the base board.
>>> + The connector node only defines index-based mappings to those
>> providers.
>>> +
>>> +properties:
>>> + compatible:
>>> + const: fsl,io-connector
>>
>> Everything is IO. Everything is connector, so your compatible does not match
>> requirements from writing bindings.
>>
>
> Yes, this compatible is too generic. I will rename the compatible to
> fsl,aud-io-connector.
aud is not much better. Which boards have it? What's the pinout? What's
standard? Is it described anywhere? If so, provide reference to spec/docs.
>
>>> +
>>> + gpio-controller: true
>>> +
>>> + '#gpio-cells':
>>> + const: 2
>>> +
>>> + gpio-map:
>>> + $ref: /schemas/types.yaml#/definitions/uint32-matrix
>>
>> You do not need to redefine the types. You need constraints, though.
>>
>
> OK. I will add proper constraints.
>
>>> +
>>> + gpio-map-mask:
>>> + $ref: /schemas/types.yaml#/definitions/uint32-array
>>> +
>>> + gpio-map-pass-thru:
>>> + $ref: /schemas/types.yaml#/definitions/uint32-array
>>> +
>>> + '#clock-cells':
>>> + const: 1
>>> +
>>> + clock-map:
>>> + $ref: /schemas/types.yaml#/definitions/uint32-matrix
>>> +
>>> + clock-map-mask:
>>> + $ref: /schemas/types.yaml#/definitions/uint32-array
>>> +
>>> + clock-map-pass-thru:
>>> + $ref: /schemas/types.yaml#/definitions/uint32-array
>>
>> I do not see these defined anywhere. I also checked cover letter for
>> references for pulls to dtschema.
>>
>
> Nexus nodes are already in the device-tree specification:
> https://github.com/devicetree-org/devicetree-specification/blob/v0.4/source/chapter2-devicetree-basics.rst#nexus-nodes-and-specifier-mapping
> For reference, current kernel has supported it:
> * Nexus OF support:
> commit bd6f2fd5a1d5 ("of: Support parsing phandle argument lists through a nexus node")
> * GPIO adoption:
> commit c11e6f0f04db ("gpio: Support gpio nexus dt bindings")
> * PWM adoption:
> commit e71e46a6f19c ("pwm: Add support for pwm nexus dt bindings")
> Clock adoption is ongoing:
> https://lore.kernel.org/all/20260327-schneider-v7-0-rc1-crypto-v1-10-5e6ff7853994@bootlin.com/
DT spec only mentions nexuses, but it is only a spec. Each property from
the spec must be defined in dtschema or kernel bindings.
I do not see any dependency mentioned in the cover letter, so how do you
think we can figure out where is this definition of clock nexus?
Best regards,
Krzysztof
next prev parent reply other threads:[~2026-05-18 7:07 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-05-09 2:48 [PATCH 0/5] arm64: dts: freescale: Add IMX-AUD-IO daughter board support Chancel Liu
2026-05-09 2:48 ` [PATCH 1/5] clk: Add support for clock nexus dt bindings Chancel Liu
2026-05-13 3:19 ` Chancel Liu
2026-05-09 2:48 ` [PATCH 2/5] dt-bindings: connector: Add fsl,io-connector binding Chancel Liu
2026-05-15 7:19 ` Krzysztof Kozlowski
2026-05-18 4:18 ` Chancel Liu
2026-05-18 7:07 ` Krzysztof Kozlowski [this message]
2026-05-19 2:56 ` Chancel Liu
2026-05-19 8:29 ` Krzysztof Kozlowski
2026-05-20 5:02 ` Chancel Liu (OSS)
2026-05-20 7:08 ` Krzysztof Kozlowski
2026-05-20 14:33 ` Frank Li
2026-05-09 2:48 ` [PATCH 3/5] arm64: dts: freescale: imx95-19x19-evk: Add IMX-AUD-IO board support Chancel Liu
2026-05-09 2:48 ` [PATCH 4/5] arm64: dts: freescale: imx952-evk: " Chancel Liu
2026-05-11 8:20 ` Bough Chen
2026-05-13 5:50 ` Chancel Liu
2026-05-09 2:48 ` [PATCH 5/5] arm64: dts: freescale: Add common DTS overlay for IMX-AUD-IO daughter board Chancel Liu
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=d2b13e51-1684-4acb-a5ed-294c8aa95906@kernel.org \
--to=krzk@kernel.org \
--cc=chancel.liu@nxp.com \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=festevam@gmail.com \
--cc=frank.li@nxp.com \
--cc=imx@lists.linux.dev \
--cc=kernel@pengutronix.de \
--cc=krzk+dt@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-clk@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mturquette@baylibre.com \
--cc=robh@kernel.org \
--cc=s.hauer@pengutronix.de \
--cc=sboyd@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