Home
last modified time | relevance | path

Searched +full:kirin970 +full:- +full:spmi +full:- +full:controller (Results 1 – 3 of 3) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/spmi/
Dhisilicon,hisi-spmi-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/spmi/hisilicon,hisi-spmi-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: HiSilicon SPMI controller
10 - Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
13 The HiSilicon SPMI BUS controller is found on some Kirin-based designs.
14 It is a MIPI System Power Management (SPMI) controller.
17 ./Documentation/devicetree/bindings/mfd/hisilicon,hi6421-spmi-pmic.yaml.
20 - $ref: spmi.yaml#
[all …]
/Linux-v6.1/arch/arm64/boot/dts/hisilicon/
Dhikey970-pmic.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * dts file for Hi6421v600 SPMI PMIC used at the HiKey970 Development Board
8 #include <dt-bindings/spmi/spmi.h>
11 spmi: spmi@fff24000 { label
12 compatible = "hisilicon,kirin970-spmi-controller";
13 #address-cells = <2>;
14 #size-cells = <0>;
17 hisilicon,spmi-channel = <2>;
20 compatible = "hisilicon,hi6421-spmi";
23 #interrupt-cells = <2>;
[all …]
/Linux-v6.1/drivers/spmi/
Dhisi-spmi-controller.c1 // SPDX-License-Identifier: GPL-2.0
13 #include <linux/spmi.h>
16 * SPMI register addr
37 * SPMI cmd register
62 * SPMI status register
75 struct spmi_controller *controller; member
90 offset += SPMI_CHANNEL_OFFSET * ctrl_dev->channel + SPMI_SLAVE_OFFSET * sid; in spmi_controller_wait_for_done()
99 return -EIO; in spmi_controller_wait_for_done()
105 } while (timeout--); in spmi_controller_wait_for_done()
108 return -ETIMEDOUT; in spmi_controller_wait_for_done()
[all …]