mbox series

[0/5] soc: ti: add k3 platforms chipid module driver

Message ID 20200423180545.13707-1-grygorii.strashko@ti.com (mailing list archive)
Headers show
Series soc: ti: add k3 platforms chipid module driver | expand

Message

Grygorii Strashko April 23, 2020, 6:05 p.m. UTC
Hi All,

This series introduces TI K3 Multicore SoC platforms chipid module driver
which provides identification support of the TI K3 SoCs (family, revision)
and register this information with the SoC bus. It is available under
/sys/devices/soc0/ for user space, and can be checked, where needed,
in Kernel using soc_device_match().
It is also required for introducing support for new revisions of
K3 AM65x/J721E SoCs.

Example J721E:
  # cat /sys/devices/soc0/{machine,family,revision}
  Texas Instruments K3 J721E SoC
  J721E
  SR1.0

Example AM65x:
  # cat /sys/devices/soc0/{machine,family,revision}
  Texas Instruments AM654 Base Board
  AM65X
  SR1.0

Grygorii Strashko (5):
  dt-bindings: soc: ti: add binding for k3 platforms chipid module
  soc: ti: add k3 platforms chipid module driver
  arm64: arch_k3: enable chipid driver
  arm64: dts: ti: k3-am65-wakeup: add k3 platforms chipid module node
  arm64: dts: ti: k3-j721e-mcu-wakeup: add k3 platforms chipid module
    node

 .../bindings/soc/ti/k3-socinfo.yaml           |  40 ++++++
 arch/arm64/Kconfig.platforms                  |   1 +
 arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi    |   5 +
 .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi      |   5 +
 drivers/soc/ti/Kconfig                        |  10 ++
 drivers/soc/ti/Makefile                       |   1 +
 drivers/soc/ti/k3-socinfo.c                   | 135 ++++++++++++++++++
 7 files changed, 197 insertions(+)
 create mode 100644 Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml
 create mode 100644 drivers/soc/ti/k3-socinfo.c

Comments

Grygorii Strashko May 1, 2020, 8:55 p.m. UTC | #1
Hi Santosh, Tero

On 23/04/2020 21:05, Grygorii Strashko wrote:
> Hi All,
> 
> This series introduces TI K3 Multicore SoC platforms chipid module driver
> which provides identification support of the TI K3 SoCs (family, revision)
> and register this information with the SoC bus. It is available under
> /sys/devices/soc0/ for user space, and can be checked, where needed,
> in Kernel using soc_device_match().
> It is also required for introducing support for new revisions of
> K3 AM65x/J721E SoCs.
> 
> Example J721E:
>    # cat /sys/devices/soc0/{machine,family,revision}
>    Texas Instruments K3 J721E SoC
>    J721E
>    SR1.0
> 
> Example AM65x:
>    # cat /sys/devices/soc0/{machine,family,revision}
>    Texas Instruments AM654 Base Board
>    AM65X
>    SR1.0
> 
> Grygorii Strashko (5):
>    dt-bindings: soc: ti: add binding for k3 platforms chipid module
>    soc: ti: add k3 platforms chipid module driver
>    arm64: arch_k3: enable chipid driver
>    arm64: dts: ti: k3-am65-wakeup: add k3 platforms chipid module node
>    arm64: dts: ti: k3-j721e-mcu-wakeup: add k3 platforms chipid module
>      node
> 
>   .../bindings/soc/ti/k3-socinfo.yaml           |  40 ++++++
>   arch/arm64/Kconfig.platforms                  |   1 +
>   arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi    |   5 +
>   .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi      |   5 +
>   drivers/soc/ti/Kconfig                        |  10 ++
>   drivers/soc/ti/Makefile                       |   1 +
>   drivers/soc/ti/k3-socinfo.c                   | 135 ++++++++++++++++++
>   7 files changed, 197 insertions(+)
>   create mode 100644 Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml
>   create mode 100644 drivers/soc/ti/k3-socinfo.c
> 

Any more comments? I'm going resend it.
Santosh Shilimkar May 1, 2020, 9:25 p.m. UTC | #2
On 5/1/20 1:55 PM, Grygorii Strashko wrote:
> Hi Santosh, Tero
> 
> On 23/04/2020 21:05, Grygorii Strashko wrote:
>> Hi All,
>>
>> This series introduces TI K3 Multicore SoC platforms chipid module driver
>> which provides identification support of the TI K3 SoCs (family, 
>> revision)
>> and register this information with the SoC bus. It is available under
>> /sys/devices/soc0/ for user space, and can be checked, where needed,
>> in Kernel using soc_device_match().
>> It is also required for introducing support for new revisions of
>> K3 AM65x/J721E SoCs.
>>
>> Example J721E:
>>    # cat /sys/devices/soc0/{machine,family,revision}
>>    Texas Instruments K3 J721E SoC
>>    J721E
>>    SR1.0
>>
>> Example AM65x:
>>    # cat /sys/devices/soc0/{machine,family,revision}
>>    Texas Instruments AM654 Base Board
>>    AM65X
>>    SR1.0
>>
>> Grygorii Strashko (5):
>>    dt-bindings: soc: ti: add binding for k3 platforms chipid module
>>    soc: ti: add k3 platforms chipid module driver
>>    arm64: arch_k3: enable chipid driver
>>    arm64: dts: ti: k3-am65-wakeup: add k3 platforms chipid module node
>>    arm64: dts: ti: k3-j721e-mcu-wakeup: add k3 platforms chipid module
>>      node
>>
>>   .../bindings/soc/ti/k3-socinfo.yaml           |  40 ++++++
>>   arch/arm64/Kconfig.platforms                  |   1 +
>>   arch/arm64/boot/dts/ti/k3-am65-wakeup.dtsi    |   5 +
>>   .../boot/dts/ti/k3-j721e-mcu-wakeup.dtsi      |   5 +
>>   drivers/soc/ti/Kconfig                        |  10 ++
>>   drivers/soc/ti/Makefile                       |   1 +
>>   drivers/soc/ti/k3-socinfo.c                   | 135 ++++++++++++++++++
>>   7 files changed, 197 insertions(+)
>>   create mode 100644 
>> Documentation/devicetree/bindings/soc/ti/k3-socinfo.yaml
>>   create mode 100644 drivers/soc/ti/k3-socinfo.c
>>
> 
> Any more comments? I'm going resend it.
> 
If you have acks from DT maintainers, then I suggest you to split this 
series and post platform and drivers patches separately.

Regards,
Santosh