Message ID | 20220405210750.619511-1-jaschultzMS@gmail.com |
---|---|
Headers | show |
Series | platform: surface: Introduce Surface XBL Driver | expand |
Hi Jarrett, On 1/1/70 01:00, Jarrett Schultz wrote: > After v4, there were some suggestions to change the driver again to use > nvmem that would include some other changes to the sm8150 dtsi. While > the suggestions make sense, this driver was supposed to remain simple > for the introduction in order to get it into the tree and I think that > it would be best to implement those and any other suggestions in a future > patch. Hopefully this patch is now in a state where it can be accepted. > Thanks to all who have helped and been patient along the way, this was > my first patch :) I appreciate your efforts to get this upstream, but this is not how upstream development typically works. We usually iterate a patch until all stakeholders are happy and then merge it. So unless Rob changes its mind and gives his Reviewed-by for the devicetree bits from this v5, then this cannot be merged as is. Regards, Hans > ~ Jarrett > > --- > > 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. > > --- > > Changes in v5: > > - Minor changes to yaml > > --- > > 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 | 70 +++++++ > 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, 375 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 >
On Mon, Apr 11, 2022 at 02:13:42PM +0200, Hans de Goede wrote: > Hi Jarrett, > > On 1/1/70 01:00, Jarrett Schultz wrote: > > After v4, there were some suggestions to change the driver again to use > > nvmem that would include some other changes to the sm8150 dtsi. While > > the suggestions make sense, this driver was supposed to remain simple > > for the introduction in order to get it into the tree and I think that > > it would be best to implement those and any other suggestions in a future > > patch. Hopefully this patch is now in a state where it can be accepted. > > Thanks to all who have helped and been patient along the way, this was > > my first patch :) > I appreciate your efforts to get this upstream, but this is not > how upstream development typically works. We usually iterate a patch > until all stakeholders are happy and then merge it. > > So unless Rob changes its mind and gives his Reviewed-by for the > devicetree bits from this v5, then this cannot be merged as is. This is dependent on the QCom folks. We can't really define the child without first defining the parent binding. Rob
> From: Rob Herring <robh@kernel.org> > On Wednesday, April 13, 2022 at 11:27 AM, Rob wrote: > > On Tue, Apr 05, 2022 at 02:07:47PM -0700, Jarrett Schultz wrote: > > From: Jarrett Schultz <jaschultz@microsoft.com> > > > > Introduce yaml for surface xbl driver. > > From Bjorn's reply on v4, it sounds like the QCom folks need to work out how > to describe 'imem' first. I'd think that would use 'mmio-sram' > binding and then this could be a child of that. If it's DDR, then it belongs > under /reserved-memory node. Either way, that's all kind of outside the > scope of the binding unless there's something special about 'imem'. > > > > > Signed-off-by: Jarrett Schultz <jaschultz@microsoft.com> > > Hi Rajendra and Vinod, I'm currently working with Felipe Balbi on submitting an XBL driver that reads from imem. Could you help me properly describe the 'imem' binding for sm8150? Thank you, Jarrett Schultz
From: Jarrett Schultz <jaschultz@microsoft.com> After v4, there were some suggestions to change the driver again to use nvmem that would include some other changes to the sm8150 dtsi. While the suggestions make sense, this driver was supposed to remain simple for the introduction in order to get it into the tree and I think that it would be best to implement those and any other suggestions in a future patch. Hopefully this patch is now in a state where it can be accepted. Thanks to all who have helped and been patient along the way, this was my first patch :) ~ Jarrett --- 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. --- Changes in v5: - Minor changes to yaml --- 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 | 70 +++++++ 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, 375 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