From: Miquel Raynal <miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> To: Zhang Rui <rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>, Eduardo Valentin <edubezval-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Rob Herring <robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org>, Mark Rutland <mark.rutland-5wv7dgnIgG8@public.gmane.org>, Jason Cooper <jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org>, Andrew Lunn <andrew-g2DYL2Zd6BY@public.gmane.org>, Gregory Clement <gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>, Sebastian Hesselbarth <sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>, Catalin Marinas <catalin.marinas-5wv7dgnIgG8@public.gmane.org>, Will Deacon <will.deacon-5wv7dgnIgG8@public.gmane.org> Cc: linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org, Thomas Petazzoni <thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>, Antoine Tenart <antoine.tenart-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>, Nadav Haklai <nadavh-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org>, Miquel Raynal <miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org>, Baruch Siach <baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org>, David Sniatkiwicz <davidsn-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org> Subject: [PATCH v4 00/12] Armada thermal: improvements and A7K/A8K SoCs support Date: Mon, 18 Dec 2017 15:36:31 +0100 [thread overview] Message-ID: <20171218143643.7714-1-miquel.raynal@free-electrons.com> (raw) Hi, This series takes over Baruch's series by integrating his patches about supporting thermal on Armada 7K and 8K SoCs within a larger series with several improvements on the armada_thermal.c driver. For now, Armada 380 and CP110 compatibles share the same initialization routine but this will probably change in the near future when adding support for overheat interrupts. DT bindings documentation is updated to match existing code. Armada AP806 and CP110 DT are also updated with thermal nodes. Thank you, Miquèl Changes since v3: - Added Gregory's Reviewed-by tags - Detailed what I have changed over Baruch's series in the commit logs - Removed the list of every supported SoC, used "Marvell EBU Armada SoCs" instead as suggested by Thomas (unless for the Kconfig description, where having the list is useful). - Changed the comment about the Armada 380 reset section in the armada380_init() callback. - Removed the freshly introduced marvell,thermal-zone-name property in favor of the use of dev_name(dev) to name the thermal zone. - Introduced the needs_control0 capability and removed checks in the init routines (probe will fail if the bindings used are not appropriate). - Changed coefficients type to s64 to handle signed values, as well as some local variables around in the get_temp() callback - Used a do_div() instead of the traditionnal "/" to handle 64-bit values. - Split the patch renaiming the registers to do the "status" renaiming aside. Baruch Siach (4): dt-bindings: thermal: Describe Armada AP806 and CP110 thermal: armada: Use msleep for long delays thermal: armada: Add support for Armada AP806 thermal: armada: Add support for Armada CP110 Miquel Raynal (8): thermal: armada: Simplify the check of the validity bit thermal: armada: Clarify control registers accesses thermal: armada: Use real status register name thermal: armada: Update Kconfig and module description thermal: armada: Change sensors trim default value thermal: armada: Wait sensors validity before exiting the init callback thermal: armada: Give meaningful names to the thermal zones ARM64: dts: marvell: Add thermal support for A7K/A8K .../devicetree/bindings/thermal/armada-thermal.txt | 24 +- arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 6 + .../boot/dts/marvell/armada-cp110-master.dtsi | 6 + .../arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 6 + drivers/thermal/Kconfig | 4 +- drivers/thermal/armada_thermal.c | 252 +++++++++++++++------ 6 files changed, 226 insertions(+), 72 deletions(-) -- 2.11.0 -- To unsubscribe from this list: send the line "unsubscribe devicetree" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: miquel.raynal@free-electrons.com (Miquel Raynal) To: linux-arm-kernel@lists.infradead.org Subject: [PATCH v4 00/12] Armada thermal: improvements and A7K/A8K SoCs support Date: Mon, 18 Dec 2017 15:36:31 +0100 [thread overview] Message-ID: <20171218143643.7714-1-miquel.raynal@free-electrons.com> (raw) Hi, This series takes over Baruch's series by integrating his patches about supporting thermal on Armada 7K and 8K SoCs within a larger series with several improvements on the armada_thermal.c driver. For now, Armada 380 and CP110 compatibles share the same initialization routine but this will probably change in the near future when adding support for overheat interrupts. DT bindings documentation is updated to match existing code. Armada AP806 and CP110 DT are also updated with thermal nodes. Thank you, Miqu?l Changes since v3: - Added Gregory's Reviewed-by tags - Detailed what I have changed over Baruch's series in the commit logs - Removed the list of every supported SoC, used "Marvell EBU Armada SoCs" instead as suggested by Thomas (unless for the Kconfig description, where having the list is useful). - Changed the comment about the Armada 380 reset section in the armada380_init() callback. - Removed the freshly introduced marvell,thermal-zone-name property in favor of the use of dev_name(dev) to name the thermal zone. - Introduced the needs_control0 capability and removed checks in the init routines (probe will fail if the bindings used are not appropriate). - Changed coefficients type to s64 to handle signed values, as well as some local variables around in the get_temp() callback - Used a do_div() instead of the traditionnal "/" to handle 64-bit values. - Split the patch renaiming the registers to do the "status" renaiming aside. Baruch Siach (4): dt-bindings: thermal: Describe Armada AP806 and CP110 thermal: armada: Use msleep for long delays thermal: armada: Add support for Armada AP806 thermal: armada: Add support for Armada CP110 Miquel Raynal (8): thermal: armada: Simplify the check of the validity bit thermal: armada: Clarify control registers accesses thermal: armada: Use real status register name thermal: armada: Update Kconfig and module description thermal: armada: Change sensors trim default value thermal: armada: Wait sensors validity before exiting the init callback thermal: armada: Give meaningful names to the thermal zones ARM64: dts: marvell: Add thermal support for A7K/A8K .../devicetree/bindings/thermal/armada-thermal.txt | 24 +- arch/arm64/boot/dts/marvell/armada-ap806.dtsi | 6 + .../boot/dts/marvell/armada-cp110-master.dtsi | 6 + .../arm64/boot/dts/marvell/armada-cp110-slave.dtsi | 6 + drivers/thermal/Kconfig | 4 +- drivers/thermal/armada_thermal.c | 252 +++++++++++++++------ 6 files changed, 226 insertions(+), 72 deletions(-) -- 2.11.0
next reply other threads:[~2017-12-18 14:36 UTC|newest] Thread overview: 64+ messages / expand[flat|nested] mbox.gz Atom feed top 2017-12-18 14:36 Miquel Raynal [this message] 2017-12-18 14:36 ` [PATCH v4 00/12] Armada thermal: improvements and A7K/A8K SoCs support Miquel Raynal 2017-12-18 14:36 ` [PATCH v4 01/12] dt-bindings: thermal: Describe Armada AP806 and CP110 Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal [not found] ` <20171218143643.7714-2-miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2017-12-18 20:33 ` Baruch Siach 2017-12-18 20:33 ` Baruch Siach 2017-12-19 0:43 ` Miquel RAYNAL 2017-12-19 0:43 ` Miquel RAYNAL 2017-12-19 6:09 ` Baruch Siach 2017-12-19 6:09 ` Baruch Siach [not found] ` <20171219060918.nr4ojwpmqf6ju6od-MwjkAAnuF3khR1HGirfZ1z4kX+cae0hd@public.gmane.org> 2017-12-19 7:44 ` Miquel RAYNAL 2017-12-19 7:44 ` Miquel RAYNAL 2017-12-18 14:36 ` [PATCH v4 02/12] thermal: armada: Use msleep for long delays Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal 2017-12-18 14:36 ` [PATCH v4 04/12] thermal: armada: Clarify control registers accesses Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal [not found] ` <20171218143643.7714-5-miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2017-12-18 20:35 ` Baruch Siach 2017-12-18 20:35 ` Baruch Siach 2017-12-19 0:32 ` Miquel RAYNAL 2017-12-19 0:32 ` Miquel RAYNAL 2017-12-19 5:51 ` Baruch Siach 2017-12-19 5:51 ` Baruch Siach [not found] ` <20171219055154.f23leaob3zndmmqo-MwjkAAnuF3khR1HGirfZ1z4kX+cae0hd@public.gmane.org> 2017-12-19 8:08 ` Miquel RAYNAL 2017-12-19 8:08 ` Miquel RAYNAL 2017-12-19 8:19 ` Baruch Siach 2017-12-19 8:19 ` Baruch Siach 2017-12-19 8:23 ` Miquel RAYNAL 2017-12-19 8:23 ` Miquel RAYNAL [not found] ` <20171218143643.7714-1-miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2017-12-18 14:36 ` [PATCH v4 03/12] thermal: armada: Simplify the check of the validity bit Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal 2017-12-18 14:36 ` [PATCH v4 05/12] thermal: armada: Use real status register name Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal [not found] ` <20171218143643.7714-6-miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2017-12-18 15:58 ` Gregory CLEMENT 2017-12-18 15:58 ` Gregory CLEMENT 2017-12-18 14:36 ` [PATCH v4 06/12] thermal: armada: Add support for Armada AP806 Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal [not found] ` <20171218143643.7714-7-miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2017-12-18 16:05 ` Gregory CLEMENT 2017-12-18 16:05 ` Gregory CLEMENT [not found] ` <87y3m0hvik.fsf-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2017-12-19 0:27 ` Miquel RAYNAL 2017-12-19 0:27 ` Miquel RAYNAL 2017-12-18 14:36 ` [PATCH v4 07/12] thermal: armada: Add support for Armada CP110 Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal [not found] ` <20171218143643.7714-8-miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2017-12-18 16:07 ` Gregory CLEMENT 2017-12-18 16:07 ` Gregory CLEMENT 2017-12-18 14:36 ` [PATCH v4 08/12] thermal: armada: Update Kconfig and module description Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal [not found] ` <20171218143643.7714-9-miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2017-12-18 16:07 ` Gregory CLEMENT 2017-12-18 16:07 ` Gregory CLEMENT 2017-12-18 14:36 ` [PATCH v4 10/12] thermal: armada: Wait sensors validity before exiting the init callback Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal 2017-12-18 16:12 ` Gregory CLEMENT 2017-12-18 16:12 ` Gregory CLEMENT 2017-12-18 14:36 ` [PATCH v4 11/12] thermal: armada: Give meaningful names to the thermal zones Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal 2017-12-18 16:12 ` Gregory CLEMENT 2017-12-18 16:12 ` Gregory CLEMENT 2017-12-18 14:36 ` [PATCH v4 12/12] ARM64: dts: marvell: Add thermal support for A7K/A8K Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal 2017-12-18 16:13 ` Gregory CLEMENT 2017-12-18 16:13 ` Gregory CLEMENT 2017-12-18 14:36 ` [PATCH v4 09/12] thermal: armada: Change sensors trim default value Miquel Raynal 2017-12-18 14:36 ` Miquel Raynal [not found] ` <20171218143643.7714-10-miquel.raynal-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org> 2017-12-18 16:08 ` Gregory CLEMENT 2017-12-18 16:08 ` Gregory CLEMENT
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=20171218143643.7714-1-miquel.raynal@free-electrons.com \ --to=miquel.raynal-wi1+55scjutkeb57/3fjtnbpr1lh4cv8@public.gmane.org \ --cc=andrew-g2DYL2Zd6BY@public.gmane.org \ --cc=antoine.tenart-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \ --cc=baruch-NswTu9S1W3P6gbPvEgmw2w@public.gmane.org \ --cc=catalin.marinas-5wv7dgnIgG8@public.gmane.org \ --cc=davidsn-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \ --cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=edubezval-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \ --cc=gregory.clement-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \ --cc=jason-NLaQJdtUoK4Be96aLqz0jA@public.gmane.org \ --cc=linux-arm-kernel-IAPFreCvJWM7uuMidbF8XUB+6BGkLq7r@public.gmane.org \ --cc=linux-pm-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \ --cc=mark.rutland-5wv7dgnIgG8@public.gmane.org \ --cc=nadavh-eYqpPyKDWXRBDgjK7y7TUQ@public.gmane.org \ --cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \ --cc=rui.zhang-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org \ --cc=sebastian.hesselbarth-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \ --cc=thomas.petazzoni-wi1+55ScJUtKEb57/3fJTNBPR1lH4CV8@public.gmane.org \ --cc=will.deacon-5wv7dgnIgG8@public.gmane.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: linkBe 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.