diff mbox

[v3,1/4] Documentation: devicetree: add binding for Broadcom STB AVS TMON

Message ID 20170731192633.58747-2-code@mmayer.net (mailing list archive)
State New, archived
Headers show

Commit Message

Markus Mayer July 31, 2017, 7:26 p.m. UTC
From: Brian Norris <computersforpeace@gmail.com>

Add binding for Broadcom STB thermal.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Markus Mayer <mmayer@broadcom.com>
---
 .../devicetree/bindings/thermal/brcm,avs-tmon.txt    | 20 ++++++++++++++++++++
 MAINTAINERS                                          |  8 ++++++++
 2 files changed, 28 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt

Comments

Zhang Rui Aug. 8, 2017, 12:36 p.m. UTC | #1
On Mon, 2017-07-31 at 12:26 -0700, Markus Mayer wrote:
> From: Brian Norris <computersforpeace@gmail.com>
> 
> Add binding for Broadcom STB thermal.
> 
> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
> Signed-off-by: Markus Mayer <mmayer@broadcom.com>

$ file v3-1-4-Documentation-devicetree-add-binding-for-Broadcom-STB-
AVS-TMON.patch 
unified diff output, UTF-8 Unicode text

BTW, can you please rebase this patch set on top of v4.13-rc3?
At least there are some conflicts in MAINTAINER file, introduced in
-rc2.

thanks,
rui
> ---
>  .../devicetree/bindings/thermal/brcm,avs-tmon.txt    | 20
> ++++++++++++++++++++
>  MAINTAINERS                                          |  8 ++++++++
>  2 files changed, 28 insertions(+)
>  create mode 100644
> Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt
> 
> diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-
> tmon.txt b/Documentation/devicetree/bindings/thermal/brcm,avs-
> tmon.txt
> new file mode 100644
> index 0000000..9d43553
> --- /dev/null
> +++ b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt
> @@ -0,0 +1,20 @@
> +* Broadcom STB thermal management
> +
> +Thermal management core, provided by the AVS TMON hardware block.
> +
> +Required properties:
> +- compatible: must be "brcm,avs-tmon" and/or "brcm,avs-tmon-bcm7445"
> +- reg: address range for the AVS TMON registers
> +- interrupts: temperature monitor interrupt, for high/low threshold
> triggers
> +- interrupt-names: should be "tmon"
> +- interrupt-parent: the parent interrupt controller
> +
> +Example:
> +
> +	thermal@f04d1500 {
> +		compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-
> tmon";
> +		reg = <0xf04d1500 0x28>;
> +		interrupts = <0x6>;
> +		interrupt-names = "tmon";
> +		interrupt-parent = <&avs_host_l2_intc>;
> +	};
> diff --git a/MAINTAINERS b/MAINTAINERS
> index 205d397..a683d4c 100644
> --- a/MAINTAINERS
> +++ b/MAINTAINERS
> @@ -2928,6 +2928,14 @@ S:	Maintained
>  F:	Documentation/devicetree/bindings/cpufreq/brcm,stb-avs-
> cpu-freq.txt
>  F:	drivers/cpufreq/brcmstb*
>  
> +BROADCOM STB AVS TMON DRIVER
> +M:	Markus Mayer <mmayer@broadcom.com>
> +M:	bcm-kernel-feedback-list@broadcom.com
> +L:	linux-pm@vger.kernel.org
> +S:	Maintained
> +F:	Documentation/devicetree/bindings/thermal/brcm,avs-
> tmon.txt
> +F:	drivers/thermal/broadcom/brcmstb*
> +
>  BROADCOM SPECIFIC AMBA DRIVER (BCMA)
>  M:	Rafał Miłecki <zajec5@gmail.com>
>  L:	linux-wireless@vger.kernel.org
Markus Mayer Aug. 9, 2017, 9:39 p.m. UTC | #2
On 8 August 2017 at 05:36, Zhang Rui <rui.zhang@intel.com> wrote:
> On Mon, 2017-07-31 at 12:26 -0700, Markus Mayer wrote:
>> From: Brian Norris <computersforpeace@gmail.com>
>>
>> Add binding for Broadcom STB thermal.
>>
>> Signed-off-by: Brian Norris <computersforpeace@gmail.com>
>> Signed-off-by: Markus Mayer <mmayer@broadcom.com>
>
> $ file v3-1-4-Documentation-devicetree-add-binding-for-Broadcom-STB-
> AVS-TMON.patch
> unified diff output, UTF-8 Unicode text

It's UTF-8 encoded, because of Rafał's name in the recipient list.

> BTW, can you please rebase this patch set on top of v4.13-rc3?
> At least there are some conflicts in MAINTAINER file, introduced in
> -rc2.

I'll send the rebased series shortly.

> thanks,
> rui
>> ---
>>  .../devicetree/bindings/thermal/brcm,avs-tmon.txt    | 20
>> ++++++++++++++++++++
>>  MAINTAINERS                                          |  8 ++++++++
>>  2 files changed, 28 insertions(+)
>>  create mode 100644
>> Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt
>>
>> diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-
>> tmon.txt b/Documentation/devicetree/bindings/thermal/brcm,avs-
>> tmon.txt
>> new file mode 100644
>> index 0000000..9d43553
>> --- /dev/null
>> +++ b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt
>> @@ -0,0 +1,20 @@
>> +* Broadcom STB thermal management
>> +
>> +Thermal management core, provided by the AVS TMON hardware block.
>> +
>> +Required properties:
>> +- compatible: must be "brcm,avs-tmon" and/or "brcm,avs-tmon-bcm7445"
>> +- reg: address range for the AVS TMON registers
>> +- interrupts: temperature monitor interrupt, for high/low threshold
>> triggers
>> +- interrupt-names: should be "tmon"
>> +- interrupt-parent: the parent interrupt controller
>> +
>> +Example:
>> +
>> +     thermal@f04d1500 {
>> +             compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-
>> tmon";
>> +             reg = <0xf04d1500 0x28>;
>> +             interrupts = <0x6>;
>> +             interrupt-names = "tmon";
>> +             interrupt-parent = <&avs_host_l2_intc>;
>> +     };
>> diff --git a/MAINTAINERS b/MAINTAINERS
>> index 205d397..a683d4c 100644
>> --- a/MAINTAINERS
>> +++ b/MAINTAINERS
>> @@ -2928,6 +2928,14 @@ S:     Maintained
>>  F:   Documentation/devicetree/bindings/cpufreq/brcm,stb-avs-
>> cpu-freq.txt
>>  F:   drivers/cpufreq/brcmstb*
>>
>> +BROADCOM STB AVS TMON DRIVER
>> +M:   Markus Mayer <mmayer@broadcom.com>
>> +M:   bcm-kernel-feedback-list@broadcom.com
>> +L:   linux-pm@vger.kernel.org
>> +S:   Maintained
>> +F:   Documentation/devicetree/bindings/thermal/brcm,avs-
>> tmon.txt
>> +F:   drivers/thermal/broadcom/brcmstb*
>> +
>>  BROADCOM SPECIFIC AMBA DRIVER (BCMA)
>>  M:   Rafał Miłecki <zajec5@gmail.com>
>>  L:   linux-wireless@vger.kernel.org
diff mbox

Patch

diff --git a/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt
new file mode 100644
index 0000000..9d43553
--- /dev/null
+++ b/Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt
@@ -0,0 +1,20 @@ 
+* Broadcom STB thermal management
+
+Thermal management core, provided by the AVS TMON hardware block.
+
+Required properties:
+- compatible: must be "brcm,avs-tmon" and/or "brcm,avs-tmon-bcm7445"
+- reg: address range for the AVS TMON registers
+- interrupts: temperature monitor interrupt, for high/low threshold triggers
+- interrupt-names: should be "tmon"
+- interrupt-parent: the parent interrupt controller
+
+Example:
+
+	thermal@f04d1500 {
+		compatible = "brcm,avs-tmon-bcm7445", "brcm,avs-tmon";
+		reg = <0xf04d1500 0x28>;
+		interrupts = <0x6>;
+		interrupt-names = "tmon";
+		interrupt-parent = <&avs_host_l2_intc>;
+	};
diff --git a/MAINTAINERS b/MAINTAINERS
index 205d397..a683d4c 100644
--- a/MAINTAINERS
+++ b/MAINTAINERS
@@ -2928,6 +2928,14 @@  S:	Maintained
 F:	Documentation/devicetree/bindings/cpufreq/brcm,stb-avs-cpu-freq.txt
 F:	drivers/cpufreq/brcmstb*
 
+BROADCOM STB AVS TMON DRIVER
+M:	Markus Mayer <mmayer@broadcom.com>
+M:	bcm-kernel-feedback-list@broadcom.com
+L:	linux-pm@vger.kernel.org
+S:	Maintained
+F:	Documentation/devicetree/bindings/thermal/brcm,avs-tmon.txt
+F:	drivers/thermal/broadcom/brcmstb*
+
 BROADCOM SPECIFIC AMBA DRIVER (BCMA)
 M:	Rafał Miłecki <zajec5@gmail.com>
 L:	linux-wireless@vger.kernel.org