Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/staging/hikey9xx/
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 drivers/staging/hikey9xx/hisilicon,hi6421-spmi-pmic.yaml.
21 pattern: "spmi@[0-9a-f]"
[all …]
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 …]