/Linux-v4.19/drivers/mfd/ |
D | twl6040.c | 113 int twl6040_reg_read(struct twl6040 *twl6040, unsigned int reg) in twl6040_reg_read() argument 118 ret = regmap_read(twl6040->regmap, reg, &val); in twl6040_reg_read() 126 int twl6040_reg_write(struct twl6040 *twl6040, unsigned int reg, u8 val) in twl6040_reg_write() argument 130 ret = regmap_write(twl6040->regmap, reg, val); in twl6040_reg_write() 136 int twl6040_set_bits(struct twl6040 *twl6040, unsigned int reg, u8 mask) in twl6040_set_bits() argument 138 return regmap_update_bits(twl6040->regmap, reg, mask, mask); in twl6040_set_bits() 142 int twl6040_clear_bits(struct twl6040 *twl6040, unsigned int reg, u8 mask) in twl6040_clear_bits() argument 144 return regmap_update_bits(twl6040->regmap, reg, mask, 0); in twl6040_clear_bits() 149 static int twl6040_power_up_manual(struct twl6040 *twl6040) in twl6040_power_up_manual() argument 156 ret = twl6040_reg_write(twl6040, TWL6040_REG_LDOCTL, ldoctl); in twl6040_power_up_manual() [all …]
|
D | Makefile | 104 obj-$(CONFIG_TWL6040_CORE) += twl6040.o
|
/Linux-v4.19/include/linux/mfd/ |
D | twl6040.h | 223 struct twl6040 { struct 249 int twl6040_reg_read(struct twl6040 *twl6040, unsigned int reg); argument 250 int twl6040_reg_write(struct twl6040 *twl6040, unsigned int reg, 252 int twl6040_set_bits(struct twl6040 *twl6040, unsigned int reg, 254 int twl6040_clear_bits(struct twl6040 *twl6040, unsigned int reg, 256 int twl6040_power(struct twl6040 *twl6040, int on); 257 int twl6040_set_pll(struct twl6040 *twl6040, int pll_id, 259 int twl6040_get_pll(struct twl6040 *twl6040); 260 unsigned int twl6040_get_sysclk(struct twl6040 *twl6040); 263 int twl6040_get_vibralr_status(struct twl6040 *twl6040); [all …]
|
/Linux-v4.19/drivers/input/misc/ |
D | twl6040-vibra.c | 64 struct twl6040 *twl6040; member 70 struct twl6040 *twl6040 = info->twl6040; in twl6040_vib_irq_handler() local 73 status = twl6040_reg_read(twl6040, TWL6040_REG_STATUS); in twl6040_vib_irq_handler() 76 twl6040_clear_bits(twl6040, TWL6040_REG_VIBCTLL, in twl6040_vib_irq_handler() 81 twl6040_clear_bits(twl6040, TWL6040_REG_VIBCTLR, in twl6040_vib_irq_handler() 90 struct twl6040 *twl6040 = info->twl6040; in twl6040_vibra_enable() local 99 twl6040_power(info->twl6040, 1); in twl6040_vibra_enable() 100 if (twl6040_get_revid(twl6040) <= TWL6040_REV_ES1_1) { in twl6040_vibra_enable() 106 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLL, in twl6040_vibra_enable() 108 twl6040_reg_write(twl6040, TWL6040_REG_VIBCTLR, in twl6040_vibra_enable() [all …]
|
D | Makefile | 77 obj-$(CONFIG_INPUT_TWL6040_VIBRA) += twl6040-vibra.o
|
/Linux-v4.19/drivers/gpio/ |
D | gpio-twl6040.c | 37 struct twl6040 *twl6040 = dev_get_drvdata(chip->parent->parent); in twl6040gpo_get() local 40 ret = twl6040_reg_read(twl6040, TWL6040_REG_GPOCTL); in twl6040gpo_get() 56 struct twl6040 *twl6040 = dev_get_drvdata(chip->parent->parent); in twl6040gpo_set() local 60 ret = twl6040_reg_read(twl6040, TWL6040_REG_GPOCTL); in twl6040gpo_set() 69 twl6040_reg_write(twl6040, TWL6040_REG_GPOCTL, gpoctl); in twl6040gpo_set() 86 struct twl6040 *twl6040 = dev_get_drvdata(twl6040_core_dev); in gpo_twl6040_probe() local 91 if (twl6040_get_revid(twl6040) < TWL6041_REV_ES2_0) in gpo_twl6040_probe()
|
D | Makefile | 139 obj-$(CONFIG_GPIO_TWL6040) += gpio-twl6040.o
|
D | Kconfig | 1173 Say yes here to access the GPO signals of twl6040
|
/Linux-v4.19/Documentation/devicetree/bindings/mfd/ |
D | twl6040.txt | 9 - compatible : "ti,twl6040" for twl6040, "ti,twl6041" for twl6041 11 - interrupts: twl6040 has one interrupt line connecteded to the main SoC 13 - #gpio-cells = <1>: twl6040 provides GPO lines. 14 - #clock-cells = <0>; twl6040 is a provider of pdmclk which is used by McPDM 15 - twl6040,audpwron-gpio: Power on GPIO line for the twl6040 17 - vio-supply: Regulator for the twl6040 VIO supply 18 - v2v1-supply: Regulator for the twl6040 V2V1 supply 21 - enable-active-high: To power on the twl6040 during boot. 42 twl6040: twl@4b { 43 compatible = "ti,twl6040"; [all …]
|
/Linux-v4.19/drivers/clk/ |
D | clk-twl6040.c | 30 struct twl6040 *twl6040; member 50 ret = twl6040_power(pdmclk->twl6040, 1); in twl6040_pdmclk_prepare() 63 ret = twl6040_power(pdmclk->twl6040, 0); in twl6040_pdmclk_unprepare() 75 return twl6040_get_sysclk(pdmclk->twl6040); in twl6040_pdmclk_recalc_rate() 93 struct twl6040 *twl6040 = dev_get_drvdata(pdev->dev.parent); in twl6040_pdmclk_probe() local 102 clkdata->twl6040 = twl6040; in twl6040_pdmclk_probe()
|
D | Makefile | 56 obj-$(CONFIG_CLK_TWL6040) += clk-twl6040.o
|
D | Kconfig | 193 tristate "External McPDM functional clock from twl6040"
|
/Linux-v4.19/Documentation/devicetree/bindings/sound/ |
D | omap-abe-twl6040.txt | 1 * Texas Instruments OMAP4+ and twl6040 based audio setups 4 - compatible: "ti,abe-twl6040" 8 - ti,twl6040: phandle for the twl6040 core node 32 twl6040 pins: 59 compatible = "ti,abe-twl6040"; 68 ti,twl6040 = <&twl6040>;
|
/Linux-v4.19/sound/soc/codecs/ |
D | twl6040.c | 114 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_read() local 129 value = twl6040_reg_read(twl6040, reg); in twl6040_read() 176 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_write() local 183 return twl6040_reg_write(twl6040, reg, value); in twl6040_write() 577 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_get_hs_step_size() local 579 if (twl6040_get_revid(twl6040) < TWL6040_REV_ES1_3) in twl6040_get_hs_step_size() 835 struct twl6040 *twl6040 = to_twl6040(component); in twl6040_set_bias_level() local 847 ret = twl6040_set_pll(twl6040, TWL6040_SYSCLK_SEL_LPPLL, in twl6040_set_bias_level() 852 ret = twl6040_power(twl6040, 1); in twl6040_set_bias_level() 865 twl6040_power(twl6040, 0); in twl6040_set_bias_level() [all …]
|
D | Makefile | 192 snd-soc-twl6040-objs := twl6040.o 451 obj-$(CONFIG_SND_SOC_TWL6040) += snd-soc-twl6040.o
|
/Linux-v4.19/sound/soc/omap/ |
D | Makefile | 21 snd-soc-omap-abe-twl6040-objs := omap-abe-twl6040.o 30 obj-$(CONFIG_SND_OMAP_SOC_OMAP_ABE_TWL6040) += snd-soc-omap-abe-twl6040.o
|
D | Kconfig | 106 tristate "SoC Audio support for OMAP boards using ABE and twl6040 codec" 117 ABE and twl6040 codec. This driver currently supports:
|
/Linux-v4.19/arch/arm/boot/dts/ |
D | omap4-duovero.dtsi | 25 compatible = "ti,abe-twl6040"; 32 ti,twl6040 = <&twl6040>; 183 twl6040: twl@4b { label 184 compatible = "ti,twl6040"; 217 clocks = <&twl6040>;
|
D | omap4-var-som-om44.dtsi | 21 compatible = "ti,abe-twl6040"; 26 ti,twl6040 = <&twl6040>; 191 twl6040: twl@4b { label 192 compatible = "ti,twl6040"; 258 clocks = <&twl6040>;
|
D | omap4-panda-common.dtsi | 63 compatible = "ti,abe-twl6040"; 70 ti,twl6040 = <&twl6040>; 405 twl6040: twl@4b { label 406 compatible = "ti,twl6040"; 514 clocks = <&twl6040>;
|
D | omap4-sdp.dts | 116 compatible = "ti,abe-twl6040"; 125 ti,twl6040 = <&twl6040>; 368 twl6040: twl@4b { label 369 compatible = "ti,twl6040"; 625 clocks = <&twl6040>;
|
D | omap5-board-common.dtsi | 130 compatible = "ti,abe-twl6040"; 138 ti,twl6040 = <&twl6040>; 646 twl6040: twl@4b { label 647 compatible = "ti,twl6040"; 671 clocks = <&twl6040>;
|
D | omap5-igep0050.dts | 113 &twl6040 {
|
D | omap5-uevm.dts | 174 &twl6040 {
|
/Linux-v4.19/ |
D | MAINTAINERS | 10637 F: drivers/mfd/twl6040*.c
|