From: Jonas Karlman <jonas@kwiboo.se>
To: Heiko Stuebner <heiko@sntech.de>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>,
Chris Zhong <zyw@rock-chips.com>,
Zhang Qing <zhangqing@rock-chips.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Jonas Karlman <jonas@kwiboo.se>
Subject: [PATCH 2/4] dt-bindings: mfd: rk809: Add audio codec properties
Date: Sun, 5 May 2024 13:41:12 +0000 [thread overview]
Message-ID: <20240505134120.2828885-3-jonas@kwiboo.se> (raw)
In-Reply-To: <20240505134120.2828885-1-jonas@kwiboo.se>
Similar to RK817 the RK809 also integrates a complete audio system.
Add audio codec properties to binding to reflect this.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
---
.../bindings/mfd/rockchip,rk809.yaml | 34 ++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
index c951056b8b4d..b78e1b090105 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
@@ -12,7 +12,7 @@ maintainers:
description: |
Rockchip RK809 series PMIC. This device consists of an i2c controlled MFD
- that includes regulators, an RTC, and power button.
+ that includes regulators, an RTC, a power button and an audio codec.
properties:
compatible:
@@ -93,6 +93,34 @@ properties:
unevaluatedProperties: false
unevaluatedProperties: false
+ clocks:
+ description:
+ The input clock for the audio codec.
+
+ clock-names:
+ description:
+ The clock name for the codec clock.
+ items:
+ - const: mclk
+
+ '#sound-dai-cells':
+ description:
+ Needed for the interpretation of sound dais.
+ const: 0
+
+ codec:
+ description: |
+ The child node for the codec to hold additional properties. If no
+ additional properties are required for the codec, this node can be
+ omitted.
+ type: object
+ additionalProperties: false
+ properties:
+ rockchip,mic-in-differential:
+ type: boolean
+ description:
+ Describes if the microphone uses differential mode.
+
allOf:
- if:
properties:
@@ -284,5 +312,9 @@ examples:
};
};
};
+
+ rk809_codec: codec {
+ rockchip,mic-in-differential;
+ };
};
};
--
2.43.2
_______________________________________________
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: Jonas Karlman <jonas@kwiboo.se>
To: Heiko Stuebner <heiko@sntech.de>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>,
Chris Zhong <zyw@rock-chips.com>,
Zhang Qing <zhangqing@rock-chips.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Jonas Karlman <jonas@kwiboo.se>
Subject: [PATCH 2/4] dt-bindings: mfd: rk809: Add audio codec properties
Date: Sun, 5 May 2024 13:41:12 +0000 [thread overview]
Message-ID: <20240505134120.2828885-3-jonas@kwiboo.se> (raw)
In-Reply-To: <20240505134120.2828885-1-jonas@kwiboo.se>
Similar to RK817 the RK809 also integrates a complete audio system.
Add audio codec properties to binding to reflect this.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
---
.../bindings/mfd/rockchip,rk809.yaml | 34 ++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
index c951056b8b4d..b78e1b090105 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
@@ -12,7 +12,7 @@ maintainers:
description: |
Rockchip RK809 series PMIC. This device consists of an i2c controlled MFD
- that includes regulators, an RTC, and power button.
+ that includes regulators, an RTC, a power button and an audio codec.
properties:
compatible:
@@ -93,6 +93,34 @@ properties:
unevaluatedProperties: false
unevaluatedProperties: false
+ clocks:
+ description:
+ The input clock for the audio codec.
+
+ clock-names:
+ description:
+ The clock name for the codec clock.
+ items:
+ - const: mclk
+
+ '#sound-dai-cells':
+ description:
+ Needed for the interpretation of sound dais.
+ const: 0
+
+ codec:
+ description: |
+ The child node for the codec to hold additional properties. If no
+ additional properties are required for the codec, this node can be
+ omitted.
+ type: object
+ additionalProperties: false
+ properties:
+ rockchip,mic-in-differential:
+ type: boolean
+ description:
+ Describes if the microphone uses differential mode.
+
allOf:
- if:
properties:
@@ -284,5 +312,9 @@ examples:
};
};
};
+
+ rk809_codec: codec {
+ rockchip,mic-in-differential;
+ };
};
};
--
2.43.2
_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
WARNING: multiple messages have this Message-ID (diff)
From: Jonas Karlman <jonas@kwiboo.se>
To: Heiko Stuebner <heiko@sntech.de>, Rob Herring <robh@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Conor Dooley <conor+dt@kernel.org>, Lee Jones <lee@kernel.org>,
Chris Zhong <zyw@rock-chips.com>,
Zhang Qing <zhangqing@rock-chips.com>
Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-rockchip@lists.infradead.org, linux-kernel@vger.kernel.org,
Jonas Karlman <jonas@kwiboo.se>
Subject: [PATCH 2/4] dt-bindings: mfd: rk809: Add audio codec properties
Date: Sun, 5 May 2024 13:41:12 +0000 [thread overview]
Message-ID: <20240505134120.2828885-3-jonas@kwiboo.se> (raw)
In-Reply-To: <20240505134120.2828885-1-jonas@kwiboo.se>
Similar to RK817 the RK809 also integrates a complete audio system.
Add audio codec properties to binding to reflect this.
Signed-off-by: Jonas Karlman <jonas@kwiboo.se>
---
.../bindings/mfd/rockchip,rk809.yaml | 34 ++++++++++++++++++-
1 file changed, 33 insertions(+), 1 deletion(-)
diff --git a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
index c951056b8b4d..b78e1b090105 100644
--- a/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
+++ b/Documentation/devicetree/bindings/mfd/rockchip,rk809.yaml
@@ -12,7 +12,7 @@ maintainers:
description: |
Rockchip RK809 series PMIC. This device consists of an i2c controlled MFD
- that includes regulators, an RTC, and power button.
+ that includes regulators, an RTC, a power button and an audio codec.
properties:
compatible:
@@ -93,6 +93,34 @@ properties:
unevaluatedProperties: false
unevaluatedProperties: false
+ clocks:
+ description:
+ The input clock for the audio codec.
+
+ clock-names:
+ description:
+ The clock name for the codec clock.
+ items:
+ - const: mclk
+
+ '#sound-dai-cells':
+ description:
+ Needed for the interpretation of sound dais.
+ const: 0
+
+ codec:
+ description: |
+ The child node for the codec to hold additional properties. If no
+ additional properties are required for the codec, this node can be
+ omitted.
+ type: object
+ additionalProperties: false
+ properties:
+ rockchip,mic-in-differential:
+ type: boolean
+ description:
+ Describes if the microphone uses differential mode.
+
allOf:
- if:
properties:
@@ -284,5 +312,9 @@ examples:
};
};
};
+
+ rk809_codec: codec {
+ rockchip,mic-in-differential;
+ };
};
};
--
2.43.2
next prev parent reply other threads:[~2024-05-05 13:42 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-05 13:41 [PATCH 0/4] arm64: dts: rockchip: Add Radxa ROCK 3B Jonas Karlman
2024-05-05 13:41 ` Jonas Karlman
2024-05-05 13:41 ` Jonas Karlman
2024-05-05 13:41 ` [PATCH 1/4] dt-bindings: mfd: rk809: Fix vcc8 and vcc9-supply description Jonas Karlman
2024-05-05 13:41 ` Jonas Karlman
2024-05-05 13:41 ` Jonas Karlman
2024-05-06 10:44 ` Krzysztof Kozlowski
2024-05-06 10:44 ` Krzysztof Kozlowski
2024-05-06 10:44 ` Krzysztof Kozlowski
2024-05-05 13:41 ` Jonas Karlman [this message]
2024-05-05 13:41 ` [PATCH 2/4] dt-bindings: mfd: rk809: Add audio codec properties Jonas Karlman
2024-05-05 13:41 ` Jonas Karlman
2024-05-05 14:21 ` Rob Herring (Arm)
2024-05-05 14:21 ` Rob Herring (Arm)
2024-05-05 14:21 ` Rob Herring (Arm)
2024-05-06 10:47 ` Krzysztof Kozlowski
2024-05-06 10:47 ` Krzysztof Kozlowski
2024-05-06 10:47 ` Krzysztof Kozlowski
2024-05-06 16:14 ` Jonas Karlman
2024-05-06 16:14 ` Jonas Karlman
2024-05-06 16:14 ` Jonas Karlman
2024-05-06 20:08 ` Krzysztof Kozlowski
2024-05-06 20:08 ` Krzysztof Kozlowski
2024-05-06 20:08 ` Krzysztof Kozlowski
2024-05-05 13:41 ` [PATCH 3/4] dt-bindings: arm: rockchip: Add Radxa ROCK 3B Jonas Karlman
2024-05-05 13:41 ` Jonas Karlman
2024-05-05 13:41 ` Jonas Karlman
2024-05-06 10:48 ` Krzysztof Kozlowski
2024-05-06 10:48 ` Krzysztof Kozlowski
2024-05-06 10:48 ` Krzysztof Kozlowski
2024-05-06 11:46 ` Dragan Simic
2024-05-06 11:46 ` Dragan Simic
2024-05-06 11:46 ` Dragan Simic
2024-05-06 20:09 ` Krzysztof Kozlowski
2024-05-06 20:09 ` Krzysztof Kozlowski
2024-05-06 20:09 ` Krzysztof Kozlowski
2024-05-05 13:41 ` [PATCH 4/4] arm64: dts: " Jonas Karlman
2024-05-05 13:41 ` Jonas Karlman
2024-05-05 13:41 ` Jonas Karlman
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=20240505134120.2828885-3-jonas@kwiboo.se \
--to=jonas@kwiboo.se \
--cc=conor+dt@kernel.org \
--cc=devicetree@vger.kernel.org \
--cc=heiko@sntech.de \
--cc=krzysztof.kozlowski+dt@linaro.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=robh@kernel.org \
--cc=zhangqing@rock-chips.com \
--cc=zyw@rock-chips.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 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.