* [PATCH 1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts
@ 2022-12-24 15:42 Krzysztof Kozlowski
2022-12-24 15:42 ` [PATCH 2/2] ASoC: dt-bindings: cirrus,cs35l41: cleanup $ref and example Krzysztof Kozlowski
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Krzysztof Kozlowski @ 2022-12-24 15:42 UTC (permalink / raw)
To: James Schulman, David Rhodes, Lucas Tanure, Richard Fitzgerald,
Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
alsa-devel, patches, devicetree, linux-kernel
Cc: Krzysztof Kozlowski
Both DTS (SM8250 and SM8350 based Sony Xperia boards) and Linux driver
mention interrupt, so allow it to fix:
sm8350-sony-xperia-sagami-pdx215.dtb: cs35l41@41: Unevaluated properties are not allowed ('interrupt-parent', 'interrupts' were unexpected)
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml
index 82062d80d700..919d7f16f24c 100644
--- a/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml
+++ b/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml
@@ -22,6 +22,9 @@ properties:
reg:
maxItems: 1
+ interrupts:
+ maxItems: 1
+
'#sound-dai-cells':
description:
The first cell indicating the audio interface.
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* [PATCH 2/2] ASoC: dt-bindings: cirrus,cs35l41: cleanup $ref and example
2022-12-24 15:42 [PATCH 1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts Krzysztof Kozlowski
@ 2022-12-24 15:42 ` Krzysztof Kozlowski
2022-12-28 10:50 ` Charles Keepax
2022-12-28 10:50 ` [PATCH 1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts Charles Keepax
2022-12-29 19:24 ` Mark Brown
2 siblings, 1 reply; 5+ messages in thread
From: Krzysztof Kozlowski @ 2022-12-24 15:42 UTC (permalink / raw)
To: James Schulman, David Rhodes, Lucas Tanure, Richard Fitzgerald,
Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
alsa-devel, patches, devicetree, linux-kernel
Cc: Krzysztof Kozlowski
Non-functional cleanup:
1. Drop unneeded quotes form $ref,
2. Example: Use generic node name, use define for GPIO flag, adjust
indentation to consistent 4-space style.
Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
.../bindings/sound/cirrus,cs35l41.yaml | 40 ++++++++++---------
1 file changed, 21 insertions(+), 19 deletions(-)
diff --git a/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml b/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml
index 919d7f16f24c..18fb471aa891 100644
--- a/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml
+++ b/Documentation/devicetree/bindings/sound/cirrus,cs35l41.yaml
@@ -45,7 +45,7 @@ properties:
Configures the peak current by monitoring the current through the boost FET.
Range starts at 1600 mA and goes to a maximum of 4500 mA with increments
of 50 mA. See section 4.3.6 of the datasheet for details.
- $ref: "/schemas/types.yaml#/definitions/uint32"
+ $ref: /schemas/types.yaml#/definitions/uint32
minimum: 1600
maximum: 4500
default: 4500
@@ -54,7 +54,7 @@ properties:
description:
Boost inductor value, expressed in nH. Valid
values include 1000, 1200, 1500 and 2200.
- $ref: "/schemas/types.yaml#/definitions/uint32"
+ $ref: /schemas/types.yaml#/definitions/uint32
minimum: 1000
maximum: 2200
@@ -63,7 +63,7 @@ properties:
Total equivalent boost capacitance on the VBST
and VAMP pins, derated at 11 volts DC. The value must be rounded to the
nearest integer and expressed in uF.
- $ref: "/schemas/types.yaml#/definitions/uint32"
+ $ref: /schemas/types.yaml#/definitions/uint32
cirrus,asp-sdout-hiz:
description:
@@ -73,7 +73,7 @@ properties:
1 = Hi-Z during unused slots but logic 0 while all transmit channels disabled
2 = (Default) Logic 0 during unused slots, but Hi-Z while all transmit channels disabled
3 = Hi-Z during unused slots and while all transmit channels disabled
- $ref: "/schemas/types.yaml#/definitions/uint32"
+ $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0
maximum: 3
default: 2
@@ -87,7 +87,7 @@ properties:
enable boost voltage.
0 = Internal Boost
1 = External Boost
- $ref: "/schemas/types.yaml#/definitions/uint32"
+ $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0
maximum: 1
@@ -112,7 +112,7 @@ properties:
1 = GPIO
2 = Sync
3 = MCLK input
- $ref: "/schemas/types.yaml#/definitions/uint32"
+ $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0
maximum: 3
@@ -139,7 +139,7 @@ properties:
3 = MCLK input
4 = Push-pull INTB (active low)
5 = Push-pull INT (active high)
- $ref: "/schemas/types.yaml#/definitions/uint32"
+ $ref: /schemas/types.yaml#/definitions/uint32
minimum: 0
maximum: 5
@@ -179,21 +179,23 @@ unevaluatedProperties: false
examples:
- |
+ #include <dt-bindings/gpio/gpio.h>
+
spi {
#address-cells = <1>;
#size-cells = <0>;
- cs35l41: cs35l41@2 {
- #sound-dai-cells = <1>;
- compatible = "cirrus,cs35l41";
- reg = <2>;
- VA-supply = <&dummy_vreg>;
- VP-supply = <&dummy_vreg>;
- reset-gpios = <&gpio 110 0>;
-
- cirrus,boost-type = <0>;
- cirrus,boost-peak-milliamp = <4500>;
- cirrus,boost-ind-nanohenry = <1000>;
- cirrus,boost-cap-microfarad = <15>;
+ cs35l41: speaker-amp@2 {
+ #sound-dai-cells = <1>;
+ compatible = "cirrus,cs35l41";
+ reg = <2>;
+ VA-supply = <&dummy_vreg>;
+ VP-supply = <&dummy_vreg>;
+ reset-gpios = <&gpio 110 GPIO_ACTIVE_HIGH>;
+
+ cirrus,boost-type = <0>;
+ cirrus,boost-peak-milliamp = <4500>;
+ cirrus,boost-ind-nanohenry = <1000>;
+ cirrus,boost-cap-microfarad = <15>;
};
};
--
2.34.1
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts
2022-12-24 15:42 [PATCH 1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts Krzysztof Kozlowski
2022-12-24 15:42 ` [PATCH 2/2] ASoC: dt-bindings: cirrus,cs35l41: cleanup $ref and example Krzysztof Kozlowski
@ 2022-12-28 10:50 ` Charles Keepax
2022-12-29 19:24 ` Mark Brown
2 siblings, 0 replies; 5+ messages in thread
From: Charles Keepax @ 2022-12-28 10:50 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: James Schulman, David Rhodes, Lucas Tanure, Richard Fitzgerald,
Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
alsa-devel, patches, devicetree, linux-kernel
On Sat, Dec 24, 2022 at 04:42:09PM +0100, Krzysztof Kozlowski wrote:
> Both DTS (SM8250 and SM8350 based Sony Xperia boards) and Linux driver
> mention interrupt, so allow it to fix:
>
> sm8350-sony-xperia-sagami-pdx215.dtb: cs35l41@41: Unevaluated properties are not allowed ('interrupt-parent', 'interrupts' were unexpected)
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks,
Charles
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 2/2] ASoC: dt-bindings: cirrus,cs35l41: cleanup $ref and example
2022-12-24 15:42 ` [PATCH 2/2] ASoC: dt-bindings: cirrus,cs35l41: cleanup $ref and example Krzysztof Kozlowski
@ 2022-12-28 10:50 ` Charles Keepax
0 siblings, 0 replies; 5+ messages in thread
From: Charles Keepax @ 2022-12-28 10:50 UTC (permalink / raw)
To: Krzysztof Kozlowski
Cc: James Schulman, David Rhodes, Lucas Tanure, Richard Fitzgerald,
Liam Girdwood, Mark Brown, Rob Herring, Krzysztof Kozlowski,
alsa-devel, patches, devicetree, linux-kernel
On Sat, Dec 24, 2022 at 04:42:10PM +0100, Krzysztof Kozlowski wrote:
> Non-functional cleanup:
> 1. Drop unneeded quotes form $ref,
> 2. Example: Use generic node name, use define for GPIO flag, adjust
> indentation to consistent 4-space style.
>
> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
> ---
Acked-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Thanks,
Charles
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [PATCH 1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts
2022-12-24 15:42 [PATCH 1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts Krzysztof Kozlowski
2022-12-24 15:42 ` [PATCH 2/2] ASoC: dt-bindings: cirrus,cs35l41: cleanup $ref and example Krzysztof Kozlowski
2022-12-28 10:50 ` [PATCH 1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts Charles Keepax
@ 2022-12-29 19:24 ` Mark Brown
2 siblings, 0 replies; 5+ messages in thread
From: Mark Brown @ 2022-12-29 19:24 UTC (permalink / raw)
To: James Schulman, David Rhodes, Lucas Tanure, Richard Fitzgerald,
Liam Girdwood, Rob Herring, Krzysztof Kozlowski, alsa-devel,
patches, devicetree, linux-kernel, Krzysztof Kozlowski
On Sat, 24 Dec 2022 16:42:09 +0100, Krzysztof Kozlowski wrote:
> Both DTS (SM8250 and SM8350 based Sony Xperia boards) and Linux driver
> mention interrupt, so allow it to fix:
>
> sm8350-sony-xperia-sagami-pdx215.dtb: cs35l41@41: Unevaluated properties are not allowed ('interrupt-parent', 'interrupts' were unexpected)
>
>
Applied to
broonie/sound.git for-next
Thanks!
[1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts
commit: 642e4f9bdac8d42d5047312e76bab7ceaf4c131e
[2/2] ASoC: dt-bindings: cirrus,cs35l41: cleanup $ref and example
commit: c1b9c2f02ed796a6cbbfceacb14f7c5f5c7ac94f
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2022-12-29 19:24 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-24 15:42 [PATCH 1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts Krzysztof Kozlowski
2022-12-24 15:42 ` [PATCH 2/2] ASoC: dt-bindings: cirrus,cs35l41: cleanup $ref and example Krzysztof Kozlowski
2022-12-28 10:50 ` Charles Keepax
2022-12-28 10:50 ` [PATCH 1/2] ASoC: dt-bindings: cirrus,cs35l41: add interrupts Charles Keepax
2022-12-29 19:24 ` Mark Brown
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®