Home
last modified time | relevance | path

Searched +full:disc +full:- +full:vol +full:- +full:addr +full:- +full:off (Results 1 – 2 of 2) sorted by relevance

/linux/Documentation/devicetree/bindings/phy/
H A Dsunplus,sp7021-usb2-phy.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/phy/sunplus,sp7021-usb2-phy.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Vincent Shih <vincent.sunplus@gmail.com>
15 const: sunplus,sp7021-usb2-phy
19 - description: UPHY register region
20 - description: MOON4 register region
22 reg-names:
24 - const: phy
[all …]
/linux/drivers/phy/sunplus/
H A Dphy-sunplus-usb2.c1 // SPDX-License-Identifier: GPL-2.0
8 * Note 1 : non-posted write command for the registers accesses of
18 #include <linux/nvmem-consumer.h>
86 cell = nvmem_cell_get(usbphy->dev, disc_name); in update_disc_vol()
88 if (PTR_ERR(cell) == -EPROBE_DEFER) in update_disc_vol()
89 return -EPROBE_DEFER; in update_disc_vol()
98 set = (set >> usbphy->disc_vol_addr_off) & J_DISC; in update_disc_vol()
104 val = readl(usbphy->phy_regs + CONFIG7); in update_disc_vol()
106 writel(val, usbphy->phy_regs + CONFIG7); in update_disc_vol()
117 ret = clk_prepare_enable(usbphy->phy_clk); in sp_uphy_init()
[all …]