From: Krzysztof Kozlowski <krzk@kernel.org>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: Andrew Lunn <andrew+netdev@lunn.ch>,
"David S. Miller" <davem@davemloft.net>,
Eric Dumazet <edumazet@google.com>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>,
Chen-Yu Tsai <wens@kernel.org>,
Jernej Skrabec <jernej.skrabec@gmail.com>,
Samuel Holland <samuel@sholland.org>,
Andre Przywara <andre.przywara@arm.com>,
Richard Genoud <richard.genoud@bootlin.com>,
Maxime Ripard <mripard@kernel.org>,
Alexandre Torgue <alexandre.torgue@foss.st.com>,
Giuseppe Cavallaro <peppe.cavallaro@st.com>,
Jose Abreu <joabreu@synopsys.com>,
Maxime Chevallier <maxime.chevallier@bootlin.com>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Andrew Lunn <andrew@lunn.ch>,
Heiner Kallweit <hkallweit1@gmail.com>,
Russell King <linux@armlinux.org.uk>,
Saravana Kannan <saravanak@kernel.org>,
Lee Jones <lee@kernel.org>, Heiko Stuebner <heiko@sntech.de>,
netdev@vger.kernel.org, devicetree@vger.kernel.org,
linux-arm-kernel@lists.infradead.org,
linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org,
linux-stm32@st-md-mailman.stormreply.com, mfd@lists.linux.dev,
linux-rockchip@lists.infradead.org
Subject: Re: [PATCH 08/21] dt-bindings: mfd: x-powers: add AC200
Date: Mon, 3 Aug 2026 10:20:30 +0200 [thread overview]
Message-ID: <e198e8fa-6c5e-4c8d-a4de-d8bb25aab0bd@kernel.org> (raw)
In-Reply-To: <CADvTj4q7HnOYJZE-M070-1npEdne__Ct5D9FeUNVVXa8Bsm7qQ@mail.gmail.com>
On 03/08/2026 09:54, James Hilliard wrote:
> On Mon, Aug 3, 2026 at 1:07 AM Krzysztof Kozlowski <krzk@kernel.org> wrote:
>>
>> On 03/08/2026 07:14, James Hilliard wrote:
>>> The AC200 is an I2C-controlled mixed-signal companion IC containing
>>> audio, video, RTC and Fast Ethernet PHY functions.
>>
>> This fails when applied, because you did not explain the
>> dependencies/merging of this patchset.
>>
>> This is THE MOST important information of cover letter. The first thing
>> to explain.
>
> I did mention in the cover letter that the pwm series is a dependency:
> https://lore.kernel.org/all/20260703152215.192859-1-richard.genoud@bootlin.com/
Apply this patch and test.
>
> With the pwm series first this should apply on top of master. Should
> I just mention that it applies on master or should I reference a specific
> commit hash or something?
>
>>>
>>> Describe the parent device, its input clock, required function supplies,
>>> the optional SID bandgap calibration cell used by the vendor initialization
>>> sequence, and its optional Ethernet PHY control child. Document the 24 and
>>> 27 MHz rates encoded by the public EPHY clock selector.
>>>
>>
>> ...
>>
>>> +required:
>>> + - compatible
>>> + - reg
>>> + - clocks
>>> + - ac-ldoin-supply
>>> + - ephy-vcc-supply
>>> + - rtc-vcc-supply
>>> + - tv-vcc-supply
>>> +
>>> +dependencies:
>>> + interrupts: [ interrupt-controller ]
>>> + interrupt-controller: [ '#interrupt-cells', interrupts ]
>>> + '#interrupt-cells': [ interrupt-controller ]
>>> + nvmem-cells: [ nvmem-cell-names ]
>>> + nvmem-cell-names: [ nvmem-cells ]
>>
>> Why do you need all these dependencies? What are you trying to express?
>
> Looks like we probably can get rid of all except these:
> interrupt-controller: [ interrupts ]
> nvmem-cells: [ nvmem-cell-names ]
>
> I was just trying to express the MFD controller dependencies.
>
>>> +
>>> +additionalProperties: false
>>> +
>>> +examples:
>>> + - |
>>> + #include <dt-bindings/interrupt-controller/irq.h>
>>> +
>>> + i2c {
>>> + #address-cells = <1>;
>>> + #size-cells = <0>;
>>> +
>>> + mixed-signal@10 {
>>
>> ...
>>
>>> +...
>>> diff --git a/include/dt-bindings/mfd/x-powers,ac200.h b/include/dt-bindings/mfd/x-powers,ac200.h
>>> new file mode 100644
>>> index 000000000000..cc59e2ab4912
>>> --- /dev/null
>>> +++ b/include/dt-bindings/mfd/x-powers,ac200.h
>>> @@ -0,0 +1,13 @@
>>> +/* SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) */
>>> +/*
>>> + * Interrupt numbers of the X-Powers AC200 interrupt controller.
>>> + */
>>> +
>>> +#ifndef _DT_BINDINGS_MFD_X_POWERS_AC200_H
>>> +#define _DT_BINDINGS_MFD_X_POWERS_AC200_H
>>> +
>>> +#define AC200_IRQ_TVE 0
>>> +#define AC200_IRQ_EPHY 1
>>> +#define AC200_IRQ_RTC 2
>>
>> Hardware constants are not really bindings, even though you use them in
>> the driver.
>
> Should I do something different for this?
I would just drop the defines and the header, because these are fixed
hardware numbers.
Best regards,
Krzysztof
_______________________________________________
Linux-rockchip mailing list
Linux-rockchip@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-rockchip
next prev parent reply other threads:[~2026-08-03 8:20 UTC|newest]
Thread overview: 51+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-08-03 5:14 [PATCH 00/21] net: phy: add X-Powers AC200/AC300 EPHY support James Hilliard
2026-08-03 5:14 ` [PATCH 01/21] dt-bindings: net: allwinner: add H616 EMAC1 James Hilliard
2026-08-03 13:03 ` Andrew Lunn
2026-08-03 5:14 ` [PATCH 02/21] net: stmmac: sun8i: add support for Allwinner " James Hilliard
2026-08-03 5:14 ` [PATCH 03/21] arm64: dts: allwinner: h616: add EMAC1 controller James Hilliard
2026-08-03 7:01 ` Krzysztof Kozlowski
2026-08-03 5:14 ` [PATCH 04/21] net: mdio: factor out OF child registration helpers James Hilliard
2026-08-03 5:14 ` [PATCH 05/21] net: mdio: make device map changes hotplug-safe James Hilliard
2026-08-03 5:14 ` [PATCH 06/21] net: mdio: support dynamic OF device changes James Hilliard
2026-08-03 5:14 ` [PATCH 07/21] dt-bindings: net: x-powers: add AC200 EPHY control James Hilliard
2026-08-03 13:40 ` Andrew Lunn
2026-08-03 18:03 ` James Hilliard
2026-08-03 5:14 ` [PATCH 08/21] dt-bindings: mfd: x-powers: add AC200 James Hilliard
2026-08-03 7:07 ` Krzysztof Kozlowski
2026-08-03 7:54 ` James Hilliard
2026-08-03 8:20 ` Krzysztof Kozlowski [this message]
2026-08-03 8:21 ` Krzysztof Kozlowski
2026-08-03 16:36 ` James Hilliard
2026-08-03 21:34 ` James Hilliard
2026-08-03 22:06 ` Andrew Lunn
2026-08-03 13:18 ` Andrew Lunn
2026-08-03 16:45 ` James Hilliard
2026-08-03 16:51 ` Chen-Yu Tsai
2026-08-03 5:14 ` [PATCH 09/21] mfd: add X-Powers AC200 support James Hilliard
2026-08-03 5:14 ` [PATCH 10/21] net: phy: add X-Powers AC200 EPHY control driver James Hilliard
2026-08-03 13:50 ` Andrew Lunn
2026-08-03 16:09 ` James Hilliard
2026-08-03 17:48 ` Andrew Lunn
2026-08-03 18:45 ` James Hilliard
2026-08-03 5:14 ` [PATCH 11/21] dt-bindings: net: x-powers: add AC300 EPHY control James Hilliard
2026-08-03 5:14 ` [PATCH 12/21] net: phy: add X-Powers AC300 EPHY control driver James Hilliard
2026-08-03 5:14 ` [PATCH 13/21] dt-bindings: net: x-powers: add AC200/AC300 EPHY James Hilliard
2026-08-03 5:14 ` [PATCH 14/21] net: phy: support configuring PHY-autonomous Tx LPI James Hilliard
2026-08-03 5:14 ` [PATCH 15/21] net: phylink: allow PHY-autonomous EEE without MAC LPI James Hilliard
2026-08-03 13:23 ` Andrew Lunn
2026-08-03 5:14 ` [PATCH 16/21] net: phy: add X-Powers AC200/AC300 EPHY driver James Hilliard
2026-08-03 5:14 ` [PATCH 17/21] arm64: dts: allwinner: h616: add ACx00 EPHY resources James Hilliard
2026-08-03 5:14 ` [PATCH 18/21] arm64: dts: allwinner: orangepi-zero2w: enable Ethernet expansion James Hilliard
2026-08-03 5:14 ` [PATCH 19/21] arm64: dts: allwinner: h6: add AC200 EPHY resources James Hilliard
2026-08-03 5:14 ` [PATCH 20/21] arm64: dts: allwinner: h6: tanix: enable AC200 EPHY James Hilliard
2026-08-03 5:14 ` [PATCH 21/21] arm64: defconfig: enable X-Powers ACx00 Ethernet support James Hilliard
2026-08-03 7:00 ` Krzysztof Kozlowski
2026-08-03 7:22 ` James Hilliard
2026-08-03 13:01 ` [PATCH 00/21] net: phy: add X-Powers AC200/AC300 EPHY support Andrew Lunn
2026-08-03 13:14 ` Andrew Lunn
2026-08-03 13:26 ` Andre Przywara
2026-08-03 13:30 ` Andrew Lunn
2026-08-03 15:57 ` James Hilliard
2026-08-03 13:52 ` Andrew Lunn
2026-08-03 13:54 ` Andre Przywara
2026-08-03 13:57 ` Andrew Lunn
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=e198e8fa-6c5e-4c8d-a4de-d8bb25aab0bd@kernel.org \
--to=krzk@kernel.org \
--cc=alexandre.torgue@foss.st.com \
--cc=andre.przywara@arm.com \
--cc=andrew+netdev@lunn.ch \
--cc=andrew@lunn.ch \
--cc=conor+dt@kernel.org \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=edumazet@google.com \
--cc=heiko@sntech.de \
--cc=hkallweit1@gmail.com \
--cc=james.hilliard1@gmail.com \
--cc=jernej.skrabec@gmail.com \
--cc=joabreu@synopsys.com \
--cc=krzk+dt@kernel.org \
--cc=kuba@kernel.org \
--cc=lee@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-rockchip@lists.infradead.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=linux-sunxi@lists.linux.dev \
--cc=linux@armlinux.org.uk \
--cc=maxime.chevallier@bootlin.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=mfd@lists.linux.dev \
--cc=mripard@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.com \
--cc=peppe.cavallaro@st.com \
--cc=richard.genoud@bootlin.com \
--cc=robh@kernel.org \
--cc=samuel@sholland.org \
--cc=saravanak@kernel.org \
--cc=wens@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