[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230915152607.18116-1-william-tw.lin@mediatek.com>
Date: Fri, 15 Sep 2023 23:26:04 +0800
From: William-tw Lin <william-tw.lin@...iatek.com>
To: Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>,
Conor Dooley <conor+dt@...nel.org>,
Matthias Brugger <matthias.bgg@...il.com>,
AngeloGioacchino Del Regno
<angelogioacchino.delregno@...labora.com>,
Kevin Hilman <khilman@...nel.org>
CC: <Project_Global_Chrome_Upstream_Group@...iatek.com>,
<devicetree@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>,
<linux-kernel@...r.kernel.org>,
<linux-mediatek@...ts.infradead.org>,
William-tw Lin <william-tw.lin@...iatek.com>
Subject: [PATCH v2 0/3] mtk-socinfo driver implementation
This purpose of the patches is for soc-related information retrival.
Such information includes manufacturer information, SoC name, SoC
segment name, and SoC marketing name.
Based on tag: next-20230915, linux-next/master
Changes in v2:
- Remove mtk-socinfo.h
- Consolidate different compatibles into mediatek,socinfo
- Move socinfo node out of MMIO bus
- Move mtk-socinfo.yaml to hwinfo
- Fix reviewer's comments
William-tw Lin (3):
arm64: dts: Add node for chip info driver
soc: mediatek: mtk-socinfo: Add driver for getting chip information
dt-bindings: hwinfo: Add mtk-socinfo driver
.../bindings/hwinfo/mtk-socinfo.yaml | 48 +++++
arch/arm64/boot/dts/mediatek/mt8173.dtsi | 15 ++
arch/arm64/boot/dts/mediatek/mt8183.dtsi | 15 ++
arch/arm64/boot/dts/mediatek/mt8186.dtsi | 10 ++
arch/arm64/boot/dts/mediatek/mt8192.dtsi | 14 ++
arch/arm64/boot/dts/mediatek/mt8195.dtsi | 9 +
drivers/soc/mediatek/Kconfig | 9 +
drivers/soc/mediatek/Makefile | 1 +
drivers/soc/mediatek/mtk-socinfo.c | 166 ++++++++++++++++++
9 files changed, 287 insertions(+)
create mode 100644 Documentation/devicetree/bindings/hwinfo/mtk-socinfo.yaml
create mode 100644 drivers/soc/mediatek/mtk-socinfo.c
--
2.18.0
Powered by blists - more mailing lists