Messages in this thread | | | From | Liu Ying <> | Subject | [PATCH v2 0/3] drivers: bus: Add Freescale i.MX8qxp pixel link MSI bus support | Date | Wed, 3 Aug 2022 09:24:18 +0800 |
| |
Hi,
This series aims to add Freescale i.MX8qxp pixel link MSI bus support by using the existing simple-pm-bus driver. A power domain and two input clocks need to be enabled before the MSI bus accesses it's child devices, which matches what a simple power-managed bus is(See simple-pm-bus.yaml).
Patch 1 adds support to populate simple MFD child devices in the simple-pm-bus driver, since the MSI bus may connect those devices.
Patch 2 enables/disables functional clock(s) as a bulk in the simple-pm-bus driver when the simple-pm-bus is being power managed, since the MSI bus takes the two input clocks as functional clocks.
Patch 3 adds dt-bindings for the MSI bus.
v1->v2: Address Krzysztof's comments on patch 3: * Add a select to explicitly select the MSI bus dt-binding. * List 'simple-pm-bus' explicitly as one item of compatible strings. * Require compatible and reg properties. * Put reg property just after compatible property in example.
Liu Ying (3): drivers: bus: simple-pm-bus: Populate simple MFD child devices drivers: bus: simple-pm-bus: Use clocks dt-bindings: bus: Add Freescale i.MX8qxp pixel link MSI bus binding
.../bus/fsl,imx8qxp-pixel-link-msi-bus.yaml | 97 +++++++++++++++++++ drivers/bus/simple-pm-bus.c | 61 +++++++++++- 2 files changed, 157 insertions(+), 1 deletion(-) create mode 100644 Documentation/devicetree/bindings/bus/fsl,imx8qxp-pixel-link-msi-bus.yaml
-- 2.25.1
| |