Home
last modified time | relevance | path

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

/linux-6.12.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,jz4755-cgu
26 - ingenic,jz4760-cgu
27 - ingenic,jz4760b-cgu
[all …]
/linux-6.12.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
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-6.12.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-6.12.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-6.12.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-6.12.1/drivers/usb/musb/
Djz4740.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <linux/dma-mapping.h>
14 #include <linux/phy/phy.h>
34 if (IS_ENABLED(CONFIG_USB_INVENTRA_DMA) && musb->dma_controller) in jz4740_musb_interrupt()
35 retval_dma = dma_controller_irq(irq, musb->dma_controller); in jz4740_musb_interrupt()
37 spin_lock_irqsave(&musb->lock, flags); in jz4740_musb_interrupt()
39 musb->int_usb = musb_readb(musb->mregs, MUSB_INTRUSB); in jz4740_musb_interrupt()
40 musb->int_tx = musb_readw(musb->mregs, MUSB_INTRTX); in jz4740_musb_interrupt()
41 musb->int_rx = musb_readw(musb->mregs, MUSB_INTRRX); in jz4740_musb_interrupt()
48 musb->int_usb &= MUSB_INTR_SUSPEND | MUSB_INTR_RESUME | in jz4740_musb_interrupt()
[all …]
/linux-6.12.1/drivers/phy/ingenic/
Dphy-ingenic-usb.c1 // SPDX-License-Identifier: GPL-2.0
3 * Ingenic SoCs USB PHY driver
15 #include <linux/phy/phy.h>
87 void (*usb_phy_init)(struct phy *phy);
93 struct phy *phy; member
99 static int ingenic_usb_phy_init(struct phy *phy) in ingenic_usb_phy_init() argument
101 struct ingenic_usb_phy *priv = phy_get_drvdata(phy); in ingenic_usb_phy_init()
105 err = clk_prepare_enable(priv->clk); in ingenic_usb_phy_init()
107 dev_err(&phy->dev, "Unable to start clock: %d\n", err); in ingenic_usb_phy_init()
111 priv->soc_info->usb_phy_init(phy); in ingenic_usb_phy_init()
[all …]