Home
last modified time | relevance | path

Searched refs:iomux (Results 1 – 25 of 145) sorted by relevance

123456

/OK3568_Linux_fs/kernel/arch/arc/boot/dts/
H A Dabilis_tb100.dtsi29 iomux: iomux@ff10601c { label
163 gpio-ranges = <&iomux 0 0 0>;
176 gpio-ranges = <&iomux 0 0 0>;
189 gpio-ranges = <&iomux 0 0 0>;
202 gpio-ranges = <&iomux 0 0 0>;
215 gpio-ranges = <&iomux 0 0 0>;
228 gpio-ranges = <&iomux 0 0 0>;
241 gpio-ranges = <&iomux 0 0 0>;
254 gpio-ranges = <&iomux 0 0 0>;
267 gpio-ranges = <&iomux 0 0 0>;
[all …]
H A Dabilis_tb101.dtsi29 iomux: iomux@ff10601c { label
172 gpio-ranges = <&iomux 0 0 0>;
185 gpio-ranges = <&iomux 0 0 0>;
198 gpio-ranges = <&iomux 0 0 0>;
211 gpio-ranges = <&iomux 0 0 0>;
224 gpio-ranges = <&iomux 0 0 0>;
237 gpio-ranges = <&iomux 0 0 0>;
250 gpio-ranges = <&iomux 0 0 0>;
263 gpio-ranges = <&iomux 0 0 0>;
276 gpio-ranges = <&iomux 0 0 0>;
[all …]
/OK3568_Linux_fs/u-boot/drivers/pinctrl/rockchip/
H A Dpinctrl-rockchip.h287 struct rockchip_iomux iomux[4]; member
299 .iomux = { \
312 .iomux = { \
327 .iomux = { \
340 .iomux = { \
361 .iomux = { \
380 .iomux = { \
406 .iomux = { \
428 .iomux = { \
456 .iomux = { \
H A Dpinctrl-rockchip-core.c124 if (bank->iomux[iomux_num].type & IOMUX_UNROUTED) { in rockchip_get_mux()
129 if (bank->iomux[iomux_num].type & IOMUX_GPIO_ONLY) in rockchip_get_mux()
132 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rockchip_get_mux()
136 mux_type = bank->iomux[iomux_num].type; in rockchip_get_mux()
137 reg = bank->iomux[iomux_num].offset; in rockchip_get_mux()
166 if (bank->iomux[iomux_num].type & IOMUX_UNROUTED) { in rockchip_verify_mux()
171 if (bank->iomux[iomux_num].type & IOMUX_GPIO_ONLY) { in rockchip_verify_mux()
205 if (bank->iomux[iomux_num].type & IOMUX_GPIO_ONLY) in rockchip_set_mux()
225 if (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rockchip_set_mux()
227 else if (bank->iomux[iomux_num].type & IOMUX_L_SOURCE_PMU) in rockchip_set_mux()
[all …]
H A Dpinctrl-rk3036.c23 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3036_set_mux()
27 mux_type = bank->iomux[iomux_num].type; in rk3036_set_mux()
28 reg = bank->iomux[iomux_num].offset; in rk3036_set_mux()
H A Dpinctrl-rk3188.c23 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3188_set_mux()
27 mux_type = bank->iomux[iomux_num].type; in rk3188_set_mux()
28 reg = bank->iomux[iomux_num].offset; in rk3188_set_mux()
H A Dpinctrl-rk1808.c64 if (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk1808_set_mux()
66 else if (bank->iomux[iomux_num].type & IOMUX_L_SOURCE_PMU) in rk1808_set_mux()
72 mux_type = bank->iomux[iomux_num].type; in rk1808_set_mux()
73 reg = bank->iomux[iomux_num].offset; in rk1808_set_mux()
H A Dpinctrl-rk3128.c110 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3128_set_mux()
114 mux_type = bank->iomux[iomux_num].type; in rk3128_set_mux()
115 reg = bank->iomux[iomux_num].offset; in rk3128_set_mux()
H A Dpinctrl-rk3368.c23 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3368_set_mux()
27 mux_type = bank->iomux[iomux_num].type; in rk3368_set_mux()
28 reg = bank->iomux[iomux_num].offset; in rk3368_set_mux()
H A Dpinctrl-rk3288.c40 regmap = (bank->iomux[iomux_num].type & IOMUX_SOURCE_PMU) in rk3288_set_mux()
44 mux_type = bank->iomux[iomux_num].type; in rk3288_set_mux()
45 reg = bank->iomux[iomux_num].offset; in rk3288_set_mux()
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/pinctrl/
H A Dabilis,tb10x-iomux.txt7 - compatible: should be "abilis,tb10x-iomux";
52 iomux: iomux@ff10601c {
53 compatible = "abilis,tb10x-iomux";
78 gpio-ranges = <&iomux 0 0>;
H A Drockchip,pinctrl.txt21 Required properties for iomux controller:
40 Optional properties for iomux controller:
42 as some SoCs carry parts of the iomux controller registers there.
46 Deprecated properties for iomux controller:
47 - reg: first element is the general register space of the iomux controller
54 - reg: register of the gpio bank (different than the iomux registerset)
H A Dfsl,imx27-pinctrl.txt55 The iomux controller has gpio child nodes which are embedded in the iomux
56 control registers. They have to be defined as child nodes of the iomux device
58 properties for the iomux device node are required.
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/
H A Dcache.c43 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in v7_outer_cache_enable() local
61 val = readl(&iomux->gpr[11]); in v7_outer_cache_enable()
65 writel(val, &iomux->gpr[11]); in v7_outer_cache_enable()
/OK3568_Linux_fs/u-boot/board/embest/mx6boards/
H A Dmx6boards.c379 struct iomuxc *iomux = (struct iomuxc *) in enable_lvds() local
381 setbits_le32(&iomux->gpr[2], in enable_lvds()
392 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in disable_lvds() local
400 clrbits_le32(&iomux->gpr[2], in disable_lvds()
462 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in setup_display() local
492 writel(reg, &iomux->gpr[2]); in setup_display()
494 clrsetbits_le32(&iomux->gpr[3], in setup_display()
/OK3568_Linux_fs/u-boot/board/aristainetos/
H A Daristainetos-v2.c406 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in enable_lvds() local
466 writel(reg, &iomux->gpr[2]); in enable_lvds()
468 reg = readl(&iomux->gpr[3]); in enable_lvds()
472 writel(reg, &iomux->gpr[3]); in enable_lvds()
479 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in enable_spi_display() local
558 writel(reg, &iomux->gpr[2]); in enable_spi_display()
560 reg = readl(&iomux->gpr[3]); in enable_spi_display()
564 writel(reg, &iomux->gpr[3]); in enable_spi_display()
/OK3568_Linux_fs/u-boot/board/boundary/nitrogen6x/
H A Dnitrogen6x.c480 struct iomuxc *iomux = (struct iomuxc *) in enable_lvds() local
482 u32 reg = readl(&iomux->gpr[2]); in enable_lvds()
484 writel(reg, &iomux->gpr[2]); in enable_lvds()
490 struct iomuxc *iomux = (struct iomuxc *) in enable_lvds_jeida() local
492 u32 reg = readl(&iomux->gpr[2]); in enable_lvds_jeida()
495 writel(reg, &iomux->gpr[2]); in enable_lvds_jeida()
758 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in setup_display() local
794 writel(reg, &iomux->gpr[2]); in setup_display()
796 reg = readl(&iomux->gpr[3]); in setup_display()
801 writel(reg, &iomux->gpr[3]); in setup_display()
/OK3568_Linux_fs/u-boot/doc/device-tree-bindings/pinctrl/
H A Drockchip,pinctrl.txt21 Required properties for iomux controller:
28 Optional properties for iomux controller:
30 as some SoCs carry parts of the iomux controller registers there.
33 Deprecated properties for iomux controller:
34 - reg: first element is the general register space of the iomux controller
41 - reg: register of the gpio bank (different than the iomux registerset)
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/sound/
H A Dqcom,apq8016-sbc.txt15 * "mic-iomux"
16 * "spkr-iomux"
61 reg-names = "mic-iomux", "spkr-iomux";
/OK3568_Linux_fs/u-boot/common/
H A Diomux.su
/OK3568_Linux_fs/u-boot/board/engicam/icorem6/
H A Dicorem6.c149 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in setup_display() local
185 writel(reg, &iomux->gpr[2]); in setup_display()
187 reg = readl(&iomux->gpr[3]); in setup_display()
191 writel(reg, &iomux->gpr[3]); in setup_display()
/OK3568_Linux_fs/u-boot/arch/arm/mach-imx/mx6/
H A Dsoc.c688 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in gpr_init() local
691 writel(0xF00000CF, &iomux->gpr[4]); in gpr_init()
694 writel(0x77177717, &iomux->gpr[6]); in gpr_init()
695 writel(0x77177717, &iomux->gpr[7]); in gpr_init()
698 writel(0x007F007F, &iomux->gpr[6]); in gpr_init()
699 writel(0x007F007F, &iomux->gpr[7]); in gpr_init()
/OK3568_Linux_fs/u-boot/board/ge/bx50v3/
H A Dbx50v3.c438 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in setup_display_b850v3() local
468 &iomux->gpr[2]); in setup_display_b850v3()
470 clrbits_le32(&iomux->gpr[3], in setup_display_b850v3()
479 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in setup_display_bx50v3() local
507 &iomux->gpr[2]); in setup_display_bx50v3()
509 clrsetbits_le32(&iomux->gpr[3], in setup_display_bx50v3()
/OK3568_Linux_fs/u-boot/board/freescale/mx6sabresd/
H A Dmx6sabresd.c407 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in disable_lvds() local
409 int reg = readl(&iomux->gpr[2]); in disable_lvds()
414 writel(reg, &iomux->gpr[2]); in disable_lvds()
489 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in setup_display() local
531 writel(reg, &iomux->gpr[2]); in setup_display()
533 reg = readl(&iomux->gpr[3]); in setup_display()
538 writel(reg, &iomux->gpr[3]); in setup_display()
/OK3568_Linux_fs/u-boot/board/freescale/mx6sabreauto/
H A Dmx6sabreauto.c472 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in disable_lvds() local
474 clrbits_le32(&iomux->gpr[2], in disable_lvds()
541 struct iomuxc *iomux = (struct iomuxc *)IOMUXC_BASE_ADDR; in setup_display() local
580 writel(reg, &iomux->gpr[2]); in setup_display()
582 reg = readl(&iomux->gpr[3]); in setup_display()
589 writel(reg, &iomux->gpr[3]); in setup_display()

123456