[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20211221182826.2141789-1-jaschultzMS@gmail.com>
Date: Tue, 21 Dec 2021 10:28:22 -0800
From: Jarrett Schultz <jaschultzms@...il.com>
To: Rob Herring <robh+dt@...nel.org>, Andy Gross <agross@...nel.org>,
bjorn.andersson@...aro.org, Hans de Goede <hdegoede@...hat.com>,
Mark Gross <markgross@...nel.org>,
Maximilian Luz <luzmaximilian@...il.com>
Cc: Felipe Balbi <balbi@...nel.org>, linux-arm-msm@...r.kernel.org,
platform-driver-x86@...r.kernel.org, linux-kernel@...r.kernel.org,
devicetree@...r.kernel.org,
Jarrett Schultz <jaschultz@...rosoft.com>
Subject: [PATCH RESEND v4 0/4] platform: surface: Introduce Surface XBL Driver
From: Jarrett Schultz <jaschultz@...rosoft.com>
Introduce the Surface Extensible Boot Loader driver for the Surface Duo.
Exposes information about the driver to user space via sysfs for
consumption in manufacturing mode.
Resend due to not showing in mailing list.
Signed-off-by: Jarrett Schultz <jaschultz@...rosoft.com>
---
Changes in v4:
- Small binding definition changes
- Removed ACPI propagation from patch series since it has been
cherry-picked
- Fixed the Signed-off-by: and From: mismatch
---
Changes in v3:
- For the yaml documentation:
* Updated description
* Fixed examples
* Updated 'required' field
- Further propogated ACPI dependency in Kconfigs
- Updated sysfs several binding descriptions
- Renamed files to conform to naming conventions
---
Changes in v2:
- Per Maximilian, added patch 2: propagated ACPI dependency from the
directory as a whole to each individual driver
- For the yaml documentation:
* Removed json-schema dependence
* Elaborated on description of driver
* Updated example
- Changed target KernelVersion in sysfs documentation
- Updated MAINTAINER changes to be properly applied across patches
- For the driver itself,
* Added types.h inclusion and removed unused inclusions
* Minor updates to code and acronym style
* Remove __packed attribute on driver struct
* Use .dev_groups for sysfs
- Added more in-depth description of driver in Kconfig
- Modified dts to reference a newly added section in sm8150.dtsi
---
Jarrett Schultz (4):
dt-bindings: platform: microsoft: Document surface xbl
platform: surface: Add surface xbl
arm64: dts: qcom: sm8150: Add imem section
arm64: dts: qcom: surface-duo: Add surface xbl
.../ABI/testing/sysfs-platform-surface-xbl | 79 ++++++++
.../platform/microsoft/surface-xbl.yaml | 64 ++++++
MAINTAINERS | 9 +
.../dts/qcom/sm8150-microsoft-surface-duo.dts | 10 +
arch/arm64/boot/dts/qcom/sm8150.dtsi | 8 +
drivers/platform/surface/Kconfig | 12 ++
drivers/platform/surface/Makefile | 1 +
drivers/platform/surface/surface_xbl.c | 186 ++++++++++++++++++
8 files changed, 369 insertions(+)
create mode 100644 Documentation/ABI/testing/sysfs-platform-surface-xbl
create mode 100644 Documentation/devicetree/bindings/platform/microsoft/surface-xbl.yaml
create mode 100644 drivers/platform/surface/surface_xbl.c
--
2.25.1
Powered by blists - more mailing lists