* [alsa-devel] [PATCH] ASoC: dt-bindings: rt1011: add r0 and temperature device property
@ 2019-10-16 11:56 shumingf
2019-10-16 12:54 ` Mark Brown
2019-10-16 12:58 ` [alsa-devel] Applied "ASoC: dt-bindings: rt1011: add r0 and temperature device property" to the asoc tree Mark Brown
0 siblings, 2 replies; 4+ messages in thread
From: shumingf @ 2019-10-16 11:56 UTC (permalink / raw)
To: broonie, lgirdwood
Cc: oder_chiou, jack.yu, alsa-devel, lars, cychiang, derek.fang,
Shuming Fan, flove
From: Shuming Fan <shumingf@realtek.com>
Typically, the r0 (calibration data) and temperature were measured in the factory.
This information is written into the non-volatile area
where keeps data whether factory reset or OS update.
Signed-off-by: Shuming Fan <shumingf@realtek.com>
---
Documentation/devicetree/bindings/sound/rt1011.txt | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/rt1011.txt b/Documentation/devicetree/bindings/sound/rt1011.txt
index 35a23e60d679..02d53b9aa247 100644
--- a/Documentation/devicetree/bindings/sound/rt1011.txt
+++ b/Documentation/devicetree/bindings/sound/rt1011.txt
@@ -20,6 +20,14 @@ Required properties:
| 1 | 1 | 0x3b |
-------------------------------------
+Optional properties:
+
+- realtek,temperature_calib
+ u32. The temperature was measured while doing the calibration. Units: Celsius degree
+
+- realtek,r0_calib
+ u32. This is r0 calibration data which was measured in factory mode.
+
Pins on the device (for linking into audio routes) for RT1011:
* SPO
@@ -29,4 +37,6 @@ Example:
rt1011: codec@38 {
compatible = "realtek,rt1011";
reg = <0x38>;
+ realtek,temperature_calib = <25>;
+ realtek,r0_calib = <0x224050>;
};
--
2.23.0
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [alsa-devel] [PATCH] ASoC: dt-bindings: rt1011: add r0 and temperature device property
2019-10-16 11:56 [alsa-devel] [PATCH] ASoC: dt-bindings: rt1011: add r0 and temperature device property shumingf
@ 2019-10-16 12:54 ` Mark Brown
2019-10-16 12:57 ` Mark Brown
2019-10-16 12:58 ` [alsa-devel] Applied "ASoC: dt-bindings: rt1011: add r0 and temperature device property" to the asoc tree Mark Brown
1 sibling, 1 reply; 4+ messages in thread
From: Mark Brown @ 2019-10-16 12:54 UTC (permalink / raw)
To: shumingf
Cc: oder_chiou, jack.yu, alsa-devel, lars, cychiang, lgirdwood,
derek.fang, flove
[-- Attachment #1.1: Type: text/plain, Size: 656 bytes --]
On Wed, Oct 16, 2019 at 07:56:17PM +0800, shumingf@realtek.com wrote:
> From: Shuming Fan <shumingf@realtek.com>
>
> Typically, the r0 (calibration data) and temperature were measured in the factory.
> This information is written into the non-volatile area
> where keeps data whether factory reset or OS update.
Please submit patches using subject lines reflecting the style for the
subsystem, this makes it easier for people to identify relevant patches.
Look at what existing commits in the area you're changing are doing and
make sure your subject lines visually resemble what they're doing.
There's no need to resubmit to fix this alone.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [alsa-devel] [PATCH] ASoC: dt-bindings: rt1011: add r0 and temperature device property
2019-10-16 12:54 ` Mark Brown
@ 2019-10-16 12:57 ` Mark Brown
0 siblings, 0 replies; 4+ messages in thread
From: Mark Brown @ 2019-10-16 12:57 UTC (permalink / raw)
To: shumingf
Cc: oder_chiou, jack.yu, alsa-devel, lars, cychiang, lgirdwood,
derek.fang, flove
[-- Attachment #1.1: Type: text/plain, Size: 796 bytes --]
On Wed, Oct 16, 2019 at 01:54:49PM +0100, Mark Brown wrote:
> On Wed, Oct 16, 2019 at 07:56:17PM +0800, shumingf@realtek.com wrote:
> > Typically, the r0 (calibration data) and temperature were measured in the factory.
> > This information is written into the non-volatile area
> > where keeps data whether factory reset or OS update.
> Please submit patches using subject lines reflecting the style for the
> subsystem, this makes it easier for people to identify relevant patches.
> Look at what existing commits in the area you're changing are doing and
> make sure your subject lines visually resemble what they're doing.
> There's no need to resubmit to fix this alone.
Sorry, fat fingered things and replied to the wrong e-mail here - no
issues at all with the subject line on this one.
[-- Attachment #1.2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]
[-- Attachment #2: Type: text/plain, Size: 161 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 4+ messages in thread
* [alsa-devel] Applied "ASoC: dt-bindings: rt1011: add r0 and temperature device property" to the asoc tree
2019-10-16 11:56 [alsa-devel] [PATCH] ASoC: dt-bindings: rt1011: add r0 and temperature device property shumingf
2019-10-16 12:54 ` Mark Brown
@ 2019-10-16 12:58 ` Mark Brown
1 sibling, 0 replies; 4+ messages in thread
From: Mark Brown @ 2019-10-16 12:58 UTC (permalink / raw)
To: Shuming Fan
Cc: oder_chiou, jack.yu, alsa-devel, lars, cychiang, lgirdwood,
Mark Brown, derek.fang, flove
The patch
ASoC: dt-bindings: rt1011: add r0 and temperature device property
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5
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
From cf775f68a0939f0e5aad5855f63338c4b5e51c59 Mon Sep 17 00:00:00 2001
From: Shuming Fan <shumingf@realtek.com>
Date: Wed, 16 Oct 2019 19:56:17 +0800
Subject: [PATCH] ASoC: dt-bindings: rt1011: add r0 and temperature device
property
Typically, the r0 (calibration data) and temperature were measured in the factory.
This information is written into the non-volatile area
where keeps data whether factory reset or OS update.
Signed-off-by: Shuming Fan <shumingf@realtek.com>
Link: https://lore.kernel.org/r/20191016115617.23213-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
---
Documentation/devicetree/bindings/sound/rt1011.txt | 10 ++++++++++
1 file changed, 10 insertions(+)
diff --git a/Documentation/devicetree/bindings/sound/rt1011.txt b/Documentation/devicetree/bindings/sound/rt1011.txt
index 35a23e60d679..02d53b9aa247 100644
--- a/Documentation/devicetree/bindings/sound/rt1011.txt
+++ b/Documentation/devicetree/bindings/sound/rt1011.txt
@@ -20,6 +20,14 @@ Required properties:
| 1 | 1 | 0x3b |
-------------------------------------
+Optional properties:
+
+- realtek,temperature_calib
+ u32. The temperature was measured while doing the calibration. Units: Celsius degree
+
+- realtek,r0_calib
+ u32. This is r0 calibration data which was measured in factory mode.
+
Pins on the device (for linking into audio routes) for RT1011:
* SPO
@@ -29,4 +37,6 @@ Example:
rt1011: codec@38 {
compatible = "realtek,rt1011";
reg = <0x38>;
+ realtek,temperature_calib = <25>;
+ realtek,r0_calib = <0x224050>;
};
--
2.20.1
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply related [flat|nested] 4+ messages in thread
end of thread, other threads:[~2019-10-16 13:00 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-16 11:56 [alsa-devel] [PATCH] ASoC: dt-bindings: rt1011: add r0 and temperature device property shumingf
2019-10-16 12:54 ` Mark Brown
2019-10-16 12:57 ` Mark Brown
2019-10-16 12:58 ` [alsa-devel] Applied "ASoC: dt-bindings: rt1011: add r0 and temperature device property" to the asoc tree Mark Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox