From: Manivannan Sadhasivam <mani@kernel.org>
To: Cristian Ciocaltea <cristian.ciocaltea@gmail.com>
Cc: "Rob Herring" <robh+dt@kernel.org>,
"Andreas Färber" <afaerber@suse.de>,
devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
linux-actions@lists.infradead.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH v2 0/6] Add support for Actions Semi Owl socinfo
Date: Thu, 1 Apr 2021 10:54:38 +0530 [thread overview]
Message-ID: <20210401052438.GB14052@work> (raw)
In-Reply-To: <cover.1617110420.git.cristian.ciocaltea@gmail.com>
On Tue, Mar 30, 2021 at 04:48:15PM +0300, Cristian Ciocaltea wrote:
> This patchset adds a socinfo driver which provides information about
> Actions Semi Owl SoCs to user space via sysfs: machine, family, soc_id,
> serial_number.
>
> Please note the serial number is currently available only for the S500
> SoC variant.
>
> This has been tested on the S500 SoC based RoseapplePi SBC.
>
Is this the soc_id provided by the vendor bootloader (uboot)? If so, under
what basis it provides? I don't think the SoC has the provision for
soc_id based on HW parameters.
Thanks,
Mani
> Thanks,
> Cristi
>
> Changes in v2:
> - Exposed the memory range for reading the SoC serial number under
> /reserved-memory DT node, according to Rob's review; as a consequence
> added a new binding document (actions,owl-soc-serial.yaml) and updated
> owl-socinfo.yaml
>
> - Replaced the unportable usage of system_serial_{low,high} globals
> with a public API to provide external access to SoC serial number
> parts (e.g. Owl Ethernet MAC driver will use this to generate a
> stable MAC address)
>
> - Rebased patch series on v5.12-rc5
>
> Cristian Ciocaltea (6):
> dt-bindings: reserved-memory: Add Owl SoC serial number binding
> dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding
> soc: actions: Add Actions Semi Owl socinfo driver
> arm: dts: owl-s500: Add reserved-memory range for Owl SoC serial
> number
> arm: dts: owl-s500: Add socinfo support
> MAINTAINERS: Add entries for Owl reserved-memory and socinfo bindings
>
> .../actions,owl-soc-serial.yaml | 53 ++++++
> .../bindings/soc/actions/owl-socinfo.yaml | 57 +++++++
> MAINTAINERS | 2 +
> arch/arm/boot/dts/owl-s500.dtsi | 13 +-
> drivers/soc/actions/Kconfig | 8 +
> drivers/soc/actions/Makefile | 1 +
> drivers/soc/actions/owl-socinfo.c | 152 ++++++++++++++++++
> include/linux/soc/actions/owl-serial-number.h | 20 +++
> 8 files changed, 305 insertions(+), 1 deletion(-)
> create mode 100644 Documentation/devicetree/bindings/reserved-memory/actions,owl-soc-serial.yaml
> create mode 100644 Documentation/devicetree/bindings/soc/actions/owl-socinfo.yaml
> create mode 100644 drivers/soc/actions/owl-socinfo.c
> create mode 100644 include/linux/soc/actions/owl-serial-number.h
>
> --
> 2.31.1
>
next prev parent reply other threads:[~2021-04-01 5:25 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-03-30 13:48 [PATCH v2 0/6] Add support for Actions Semi Owl socinfo Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 1/6] dt-bindings: reserved-memory: Add Owl SoC serial number binding Cristian Ciocaltea
2021-04-01 17:07 ` Rob Herring
2021-04-01 17:40 ` Cristian Ciocaltea
2021-04-02 18:06 ` Manivannan Sadhasivam
2021-04-02 19:44 ` Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 2/6] dt-bindings: soc: actions: Add Actions Semi Owl socinfo binding Cristian Ciocaltea
2021-04-01 17:08 ` Rob Herring
2021-04-01 17:57 ` Cristian Ciocaltea
2021-04-02 18:04 ` Manivannan Sadhasivam
2021-04-02 19:25 ` Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 3/6] soc: actions: Add Actions Semi Owl socinfo driver Cristian Ciocaltea
2021-04-02 18:16 ` Manivannan Sadhasivam
2021-04-02 19:36 ` Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 4/6] arm: dts: owl-s500: Add reserved-memory range for Owl SoC serial number Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 5/6] arm: dts: owl-s500: Add socinfo support Cristian Ciocaltea
2021-03-30 13:48 ` [PATCH v2 6/6] MAINTAINERS: Add entries for Owl reserved-memory and socinfo bindings Cristian Ciocaltea
2021-04-01 5:24 ` Manivannan Sadhasivam [this message]
2021-04-01 9:40 ` [PATCH v2 0/6] Add support for Actions Semi Owl socinfo Cristian Ciocaltea
2021-04-01 10:27 ` Manivannan Sadhasivam
2021-04-01 10:49 ` Andreas Färber
2021-04-01 10:58 ` Cristian Ciocaltea
2021-04-01 11:07 ` Manivannan Sadhasivam
2021-04-01 13:19 ` Cristian Ciocaltea
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=20210401052438.GB14052@work \
--to=mani@kernel.org \
--cc=afaerber@suse.de \
--cc=cristian.ciocaltea@gmail.com \
--cc=devicetree@vger.kernel.org \
--cc=linux-actions@lists.infradead.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=robh+dt@kernel.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: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).