From: Conor Dooley <conor@kernel.org>
To: James Hilliard <james.hilliard1@gmail.com>
Cc: Jernej Skrabec <jernej.skrabec@gmail.com>,
Lee Jones <lee@kernel.org>, Arnd Bergmann <arnd@arndb.de>,
Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzk+dt@kernel.org>,
Conor Dooley <conor+dt@kernel.org>, Andrew Lunn <andrew@lunn.ch>,
"Jagielski, Jedrzej" <jedrzej.jagielski@intel.com>,
Andre Przywara <andre.przywara@arm.com>,
Chen-Yu Tsai <wens@kernel.org>,
linux-sunxi@lists.linux.dev, mfd@lists.linux.dev,
devicetree@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v11 1/2] dt-bindings: mfd: x-powers: Add AC200
Date: Tue, 8 Sep 2026 19:05:44 +0100 [thread overview]
Message-ID: <20260908-semisoft-appendage-ecbeb9b2d88e@spud> (raw)
In-Reply-To: <20260907-submit-ac200-mfd-v11-1-58dd9dc7f69a@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 7556 bytes --]
On Mon, Sep 07, 2026 at 03:03:14PM -0600, James Hilliard wrote:
> The AC200 is an I2C-controlled mixed-signal companion IC containing
> audio, video, RTC and Fast Ethernet PHY functions.
>
> Describe the shared input clock, audio DAI, TV encoder display graph and
> optional bandgap calibration in one parent node. The codec and TV encoder
> do not need separate firmware nodes.
>
> AC_LDOIN and TV_VCC are distinct 3.3 V supply inputs. Describe them
> separately without requiring different external regulators. Require the
> audio supply when the DAI is described and the video supply when the
> display graph is present, while allowing PHY-only configurations.
>
> Describe the optional shared INTB connection without an internal
> interrupt domain. Cable detection status remains readable over I2C when
> INTB is not connected. Include wired and unwired examples.
>
> The Ethernet PHY is represented by a PHY package on its MDIO bus, with a
> phandle back to this device for access to the package control registers.
> It therefore does not require an MFD child node. The input clock must run
> at 24 or 27 MHz when the Ethernet PHY is used, matching the rates encoded
> by its documented clock selector.
>
> Signed-off-by: Jernej Skrabec <jernej.skrabec@gmail.com>
> Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
btw, this is kinda odd. Jernej has a signoff, but no other attribution.
Are they a coauthor missing a Co-developed-by
> ---
Reviewed-by: Conor Dooley <conor.dooley@microchip.com>
pw-bot: not-applicable
Thanks,
Conor.
> .../devicetree/bindings/mfd/x-powers,ac200.yaml | 168 +++++++++++++++++++++
> MAINTAINERS | 7 +
> 2 files changed, 175 insertions(+)
>
> diff --git a/Documentation/devicetree/bindings/mfd/x-powers,ac200.yaml b/Documentation/devicetree/bindings/mfd/x-powers,ac200.yaml
> new file mode 100644
> index 000000000000..75dafa7c1071
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/mfd/x-powers,ac200.yaml
> @@ -0,0 +1,168 @@
> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
> +%YAML 1.2
> +---
> +$id: http://devicetree.org/schemas/mfd/x-powers,ac200.yaml#
> +$schema: http://devicetree.org/meta-schemas/core.yaml#
> +
> +title: X-Powers AC200 mixed-signal IC
> +
> +maintainers:
> + - James Hilliard <james.hilliard1@gmail.com>
> + - Jernej Skrabec <jernej.skrabec@gmail.com>
> +
> +description:
> + The AC200 is a mixed-signal companion IC containing audio, video, RTC and
> + Fast Ethernet PHY functions. Its control registers are accessed over I2C.
> + The audio codec and TV encoder are described by properties of this node.
> + The Ethernet PHY is described separately on its MDIO bus.
> +
> +allOf:
> + - $ref: /schemas/sound/dai-common.yaml#
> +
> +properties:
> + compatible:
> + const: x-powers,ac200
> +
> + reg:
> + maxItems: 1
> +
> + clocks:
> + maxItems: 1
> + description:
> + AC200 input clock. When using the Ethernet PHY, its configured rate must
> + be 24 or 27 MHz, matching the rates encoded by the documented EPHY clock
> + selector.
> +
> + interrupts:
> + maxItems: 1
> + description:
> + The shared, level-triggered, open-drain INTB output for the TV encoder,
> + Ethernet PHY and RTC interrupts. Omit when INTB is not connected. TV
> + encoder cable detection status can also be read over I2C without an
> + interrupt.
> +
> + '#sound-dai-cells':
> + const: 0
> +
> + ac-ldoin-supply:
> + description:
> + The 3.3 V supply connected to the AC_LDOIN pin for the audio codec LDO
> + input. This may be the same regulator as tv-vcc-supply.
> +
> + tv-vcc-supply:
> + description:
> + The 3.3 V supply connected to the TV_VCC pin for the composite-video
> + DAC. This may be the same regulator as ac-ldoin-supply.
> +
> + nvmem-cells:
> + maxItems: 1
> + description: TV encoder bandgap calibration.
> +
> + nvmem-cell-names:
> + items:
> + - const: bandgap
> +
> + ports:
> + $ref: /schemas/graph.yaml#/properties/ports
> +
> + properties:
> + port@0:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: Input to the TV encoder, carrying CCIR656.
> +
> + port@1:
> + $ref: /schemas/graph.yaml#/properties/port
> + description: Output to the composite-video connector.
> +
> + required:
> + - port@0
> + - port@1
> +
> +required:
> + - compatible
> + - reg
> + - clocks
> +
> +dependencies:
> + '#sound-dai-cells': [ ac-ldoin-supply ]
> + ports: [ tv-vcc-supply ]
> + nvmem-cells: [ nvmem-cell-names ]
> + nvmem-cell-names: [ nvmem-cells ]
> +
> +unevaluatedProperties: false
> +
> +examples:
> + - |
> + #include <dt-bindings/interrupt-controller/irq.h>
> +
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + mixed-signal@10 {
> + compatible = "x-powers,ac200";
> + reg = <0x10>;
> + clocks = <&pwm 5>;
> + interrupt-parent = <&pio>;
> + interrupts = <1 20 IRQ_TYPE_LEVEL_LOW>;
> + #sound-dai-cells = <0>;
> + ac-ldoin-supply = <®_aldo2>;
> + tv-vcc-supply = <®_aldo2>;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> +
> + tve_in: endpoint {
> + remote-endpoint = <&tcon_out_tve>;
> + };
> + };
> +
> + port@1 {
> + reg = <1>;
> +
> + tve_out: endpoint {
> + remote-endpoint = <&composite_in>;
> + };
> + };
> + };
> + };
> + };
> + - |
> + i2c {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + mixed-signal@10 {
> + compatible = "x-powers,ac200";
> + reg = <0x10>;
> + clocks = <&pwm 5>;
> + /* INTB is not connected. */
> + tv-vcc-supply = <®_aldo2>;
> +
> + ports {
> + #address-cells = <1>;
> + #size-cells = <0>;
> +
> + port@0 {
> + reg = <0>;
> +
> + endpoint {
> + remote-endpoint = <&tcon_out_tve>;
> + };
> + };
> +
> + port@1 {
> + reg = <1>;
> +
> + endpoint {
> + remote-endpoint = <&composite_in>;
> + };
> + };
> + };
> + };
> + };
> +...
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 3a19da74d00c..419340093c9b 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -29504,6 +29504,13 @@ F: drivers/net/wwan/
> F: include/linux/wwan.h
> F: include/uapi/linux/wwan.h
>
> +X-POWERS AC200 DRIVERS
> +M: Jernej Skrabec <jernej.skrabec@gmail.com>
> +M: James Hilliard <james.hilliard1@gmail.com>
> +L: linux-sunxi@lists.linux.dev
> +S: Maintained
> +F: Documentation/devicetree/bindings/mfd/x-powers,ac200.yaml
> +
> X-POWERS AXP288 PMIC DRIVERS
> M: Hans de Goede <hansg@kernel.org>
> S: Maintained
>
> --
> 2.53.0
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
next prev parent reply other threads:[~2026-09-08 18:05 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-07 21:03 [PATCH v11 0/2] mfd: add X-Powers AC200 support James Hilliard
2026-09-07 21:03 ` [PATCH v11 1/2] dt-bindings: mfd: x-powers: Add AC200 James Hilliard
2026-09-08 18:05 ` Conor Dooley [this message]
2026-09-08 21:38 ` James Hilliard
2026-09-08 22:02 ` Conor Dooley
2026-09-07 21:03 ` [PATCH v11 2/2] mfd: ac200: Add X-Powers AC200 support James Hilliard
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=20260908-semisoft-appendage-ecbeb9b2d88e@spud \
--to=conor@kernel.org \
--cc=andre.przywara@arm.com \
--cc=andrew@lunn.ch \
--cc=arnd@arndb.de \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=james.hilliard1@gmail.com \
--cc=jedrzej.jagielski@intel.com \
--cc=jernej.skrabec@gmail.com \
--cc=krzk+dt@kernel.org \
--cc=lee@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-sunxi@lists.linux.dev \
--cc=mfd@lists.linux.dev \
--cc=robh@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
all inboxes | Powered by JetHome®