Home
last modified time | relevance | path

Searched +full:jz4770 +full:- +full:phy (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.1/Documentation/devicetree/bindings/clock/
Dingenic,cgu.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 The CGU in an Ingenic SoC provides all the clocks generated on-chip. It
16 - Paul Cercueil <paul@crapouillou.net>
23 - ingenic,jz4740-cgu
24 - ingenic,jz4725b-cgu
25 - ingenic,jz4760-cgu
26 - ingenic,jz4760b-cgu
27 - ingenic,jz4770-cgu
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/phy/
Dingenic,phy-usb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/phy/ingenic,phy-usb.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Ingenic SoCs USB PHY devicetree bindings
10 - Paul Cercueil <paul@crapouillou.net>
11 - 周琰杰 (Zhou Yanjie) <zhouyanjie@wanyeetech.com>
15 pattern: '^usb-phy@.*'
19 - ingenic,jz4770-phy
20 - ingenic,jz4775-phy
[all …]
/Linux-v6.1/arch/mips/boot/dts/ingenic/
Djz4770.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
3 #include <dt-bindings/clock/ingenic,tcu.h>
6 #address-cells = <1>;
7 #size-cells = <1>;
8 compatible = "ingenic,jz4770";
11 #address-cells = <1>;
12 #size-cells = <0>;
16 compatible = "ingenic,xburst-fpu1.0-mxu1.1";
20 clock-names = "cpu";
[all …]
Djz4780.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/clock/ingenic,jz4780-cgu.h>
3 #include <dt-bindings/clock/ingenic,tcu.h>
4 #include <dt-bindings/dma/jz4780-dma.h>
7 #address-cells = <1>;
8 #size-cells = <1>;
12 #address-cells = <1>;
13 #size-cells = <0>;
17 compatible = "ingenic,xburst-fpu1.0-mxu1.1";
21 clock-names = "cpu";
[all …]
/Linux-v6.1/drivers/usb/phy/
DMakefile1 # SPDX-License-Identifier: GPL-2.0
5 obj-$(CONFIG_USB_PHY) += phy.o
6 obj-$(CONFIG_OF) += of.o
10 obj-$(CONFIG_AB8500_USB) += phy-ab8500-usb.o
11 obj-$(CONFIG_FSL_USB2_OTG) += phy-fsl-usb.o
12 obj-$(CONFIG_ISP1301_OMAP) += phy-isp1301-omap.o
13 obj-$(CONFIG_NOP_USB_XCEIV) += phy-generic.o
14 obj-$(CONFIG_TAHVO_USB) += phy-tahvo.o
15 obj-$(CONFIG_AM335X_CONTROL_USB) += phy-am335x-control.o
16 obj-$(CONFIG_AM335X_PHY_USB) += phy-am335x.o
[all …]
Dphy-jz4770.c1 // SPDX-License-Identifier: GPL-2.0
3 * Ingenic SoCs USB PHY driver
15 #include <linux/usb/phy.h>
100 void (*usb_phy_init)(struct usb_phy *phy);
106 struct usb_phy phy; member
119 static inline struct jz4770_phy *phy_to_jz4770_phy(struct usb_phy *phy) in phy_to_jz4770_phy() argument
121 return container_of(phy, struct jz4770_phy, phy); in phy_to_jz4770_phy()
130 if (priv->soc_info->version >= ID_X1000) { in ingenic_usb_phy_set_peripheral()
131 reg = readl(priv->base + REG_USBPCR1_OFFSET); in ingenic_usb_phy_set_peripheral()
133 writel(reg, priv->base + REG_USBPCR1_OFFSET); in ingenic_usb_phy_set_peripheral()
[all …]
/Linux-v6.1/Documentation/devicetree/bindings/usb/
Dingenic,musb.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Paul Cercueil <paul@crapouillou.net>
18 - enum:
19 - ingenic,jz4770-musb
20 - ingenic,jz4740-musb
21 - items:
22 - const: ingenic,jz4725b-musb
23 - const: ingenic,jz4740-musb
[all …]
/Linux-v6.1/drivers/clk/ingenic/
Djz4770-cgu.c1 // SPDX-License-Identifier: GPL-2.0
3 * JZ4770 SoC CGU driver
8 #include <linux/clk-provider.h>
13 #include <dt-bindings/clock/ingenic,jz4770-cgu.h>
44 #define OPCR_SPENDH BIT(5) /* UHC PHY suspend */
47 #define USBPCR1_UHC_POWER BIT(5) /* UHC PHY power down */
53 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4770_uhc_phy_enable()
54 void __iomem *reg_usbpcr1 = cgu->base + CGU_REG_USBPCR1; in jz4770_uhc_phy_enable()
63 void __iomem *reg_opcr = cgu->base + CGU_REG_OPCR; in jz4770_uhc_phy_disable()
64 void __iomem *reg_usbpcr1 = cgu->base + CGU_REG_USBPCR1; in jz4770_uhc_phy_disable()
[all …]
/Linux-v6.1/drivers/usb/musb/
Djz4740.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <linux/dma-mapping.h>
33 if (IS_ENABLED(CONFIG_USB_INVENTRA_DMA) && musb->dma_controller) in jz4740_musb_interrupt()
34 retval_dma = dma_controller_irq(irq, musb->dma_controller); in jz4740_musb_interrupt()
36 spin_lock_irqsave(&musb->lock, flags); in jz4740_musb_interrupt()
38 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in jz4740_musb_interrupt()
39 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in jz4740_musb_interrupt()
40 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in jz4740_musb_interrupt()
47 musb->int_usb &= MUSB_INTR_SUSPEND | MUSB_INTR_RESUME | in jz4740_musb_interrupt()
50 if (musb->int_usb || musb->int_tx || musb->int_rx) in jz4740_musb_interrupt()
[all …]
/Linux-v6.1/drivers/phy/ingenic/
Dphy-ingenic-usb.c1 // SPDX-License-Identifier: GPL-2.0
3 * Ingenic SoCs USB PHY driver
14 #include <linux/phy/phy.h>
86 void (*usb_phy_init)(struct phy *phy);
92 struct phy *phy; member
98 static int ingenic_usb_phy_init(struct phy *phy) in ingenic_usb_phy_init() argument
100 struct ingenic_usb_phy *priv = phy_get_drvdata(phy); in ingenic_usb_phy_init()
104 err = clk_prepare_enable(priv->clk); in ingenic_usb_phy_init()
106 dev_err(&phy->dev, "Unable to start clock: %d\n", err); in ingenic_usb_phy_init()
110 priv->soc_info->usb_phy_init(phy); in ingenic_usb_phy_init()
[all …]