WSL2-Linux-Kernel/drivers/i2c/busses
Gerhard Sittig b3bfce2bc2 i2c: mpc: cleanup clock API use
make the MPC I2C driver get, prepare and enable the gated clock item for
register access during probe; disable and unprepare the clock upon
remove(), put is done by the devm approach; hold a reference to the
clock over the period of use

clock lookup is non-fatal in this implementation as not all platforms
may provide clock specs in their device tree, but failure to enable a
clock when specified is considered fatal

Signed-off-by: Gerhard Sittig <gsi@denx.de>
Signed-off-by: Anatolij Gustschin <agust@denx.de>
Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
2013-08-28 10:48:44 +02:00
..
Kconfig i2c: davinci: Allow i2c driver available for keystone platforms 2013-08-15 14:29:34 +02:00
Makefile
i2c-acorn.c
i2c-ali15x3.c
i2c-ali1535.c
i2c-ali1563.c
i2c-amd756-s4882.c
i2c-amd756.c
i2c-amd8111.c
i2c-at91.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-au1550.c
i2c-bcm2835.c
i2c-bfin-twi.c i2c: use dev_get_platdata() 2013-08-19 19:46:30 +02:00
i2c-cbus-gpio.c i2c: use dev_get_platdata() 2013-08-19 19:46:30 +02:00
i2c-cpm.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-davinci.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-designware-core.c i2c: designware: Manually set RESTART bit between messages 2013-08-07 16:58:07 +02:00
i2c-designware-core.h
i2c-designware-pcidrv.c
i2c-designware-platdrv.c i2c: move ACPI helpers into the core 2013-08-23 10:22:29 +02:00
i2c-diolan-u2c.c
i2c-eg20t.c
i2c-elektor.c
i2c-gpio.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-highlander.c
i2c-hydra.c
i2c-i801.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-ibm_iic.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-ibm_iic.h
i2c-imx.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-iop3xx.c
i2c-iop3xx.h
i2c-isch.c
i2c-ismt.c i2c: ismt: add error return code in probe() 2013-08-28 10:28:08 +02:00
i2c-kempld.c i2c: Fix Kontron PLD prescaler calculation 2013-08-05 10:31:18 +02:00
i2c-mpc.c i2c: mpc: cleanup clock API use 2013-08-28 10:48:44 +02:00
i2c-mv64xxx.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-mxs.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-nforce2-s4985.c
i2c-nforce2.c
i2c-nomadik.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-nuc900.c i2c: use dev_get_platdata() 2013-08-19 19:46:30 +02:00
i2c-ocores.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-octeon.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-omap.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-parport-light.c
i2c-parport.c
i2c-parport.h
i2c-pasemi.c
i2c-pca-isa.c
i2c-pca-platform.c i2c: use dev_get_platdata() 2013-08-19 19:46:30 +02:00
i2c-piix4.c i2c: piix4: Add support for secondary SMBus on AMD SB800 and AMD FCH chipsets 2013-08-15 15:17:31 +02:00
i2c-pmcmsp.c
i2c-pnx.c i2c: pnx: fix error return code in i2c_pnx_probe() 2013-08-28 10:31:33 +02:00
i2c-powermac.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-puv3.c i2c: puv3: add CONFIG_PM_SLEEP to suspend function 2013-08-15 12:26:31 +02:00
i2c-pxa-pci.c
i2c-pxa.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-rcar.c i2c: use dev_get_platdata() 2013-08-19 19:46:30 +02:00
i2c-s3c2410.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-s6000.c i2c: use dev_get_platdata() 2013-08-19 19:46:30 +02:00
i2c-s6000.h
i2c-scmi.c
i2c-sh7760.c i2c: use dev_get_platdata() 2013-08-19 19:46:30 +02:00
i2c-sh_mobile.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-sibyte.c
i2c-simtec.c
i2c-sirf.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-sis96x.c
i2c-sis630.c
i2c-sis5595.c
i2c-stu300.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-taos-evm.c
i2c-tegra.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-tiny-usb.c i2c: tiny-usb: do not use stack as URB transfer_buffer 2013-08-19 19:46:38 +02:00
i2c-versatile.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-via.c
i2c-viapro.c
i2c-viperboard.c
i2c-wmt.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-xiic.c i2c: move OF helpers into the core 2013-08-23 10:22:20 +02:00
i2c-xlr.c
scx200_acb.c
scx200_i2c.c