Home
last modified time | relevance | path

Searched refs:hlcdc (Results 1 – 25 of 51) sorted by relevance

123

/openbmc/linux/drivers/mfd/
H A Datmel-hlcdc.c85 struct atmel_hlcdc *hlcdc; in atmel_hlcdc_probe() local
91 hlcdc = devm_kzalloc(dev, sizeof(*hlcdc), GFP_KERNEL); in atmel_hlcdc_probe()
92 if (!hlcdc) in atmel_hlcdc_probe()
101 hlcdc->irq = platform_get_irq(pdev, 0); in atmel_hlcdc_probe()
102 if (hlcdc->irq < 0) in atmel_hlcdc_probe()
103 return hlcdc->irq; in atmel_hlcdc_probe()
105 hlcdc->periph_clk = devm_clk_get(dev, "periph_clk"); in atmel_hlcdc_probe()
106 if (IS_ERR(hlcdc->periph_clk)) { in atmel_hlcdc_probe()
108 return PTR_ERR(hlcdc->periph_clk); in atmel_hlcdc_probe()
111 hlcdc->sys_clk = devm_clk_get(dev, "sys_clk"); in atmel_hlcdc_probe()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mfd/
H A Datmel-hlcdc.txt5 "atmel,at91sam9n12-hlcdc"
6 "atmel,at91sam9x5-hlcdc"
7 "atmel,sama5d2-hlcdc"
8 "atmel,sama5d3-hlcdc"
9 "atmel,sama5d4-hlcdc"
10 "microchip,sam9x60-hlcdc"
19 - a PWM chip: see ../pwm/atmel-hlcdc-pwm.txt
20 - a Display Controller: see ../display/atmel/hlcdc-dc.txt
24 hlcdc: hlcdc@f0030000 {
25 compatible = "atmel,sama5d3-hlcdc";
[all …]
/openbmc/linux/drivers/pwm/
H A Dpwm-atmel-hlcdc.c32 struct atmel_hlcdc *hlcdc; member
46 struct atmel_hlcdc *hlcdc = atmel->hlcdc; in atmel_hlcdc_pwm_apply() local
51 struct clk *new_clk = hlcdc->slow_clk; in atmel_hlcdc_pwm_apply()
70 new_clk = hlcdc->sys_clk; in atmel_hlcdc_pwm_apply()
105 if (new_clk == hlcdc->sys_clk) in atmel_hlcdc_pwm_apply()
108 ret = regmap_update_bits(hlcdc->regmap, in atmel_hlcdc_pwm_apply()
132 ret = regmap_update_bits(hlcdc->regmap, ATMEL_HLCDC_CFG(6), in atmel_hlcdc_pwm_apply()
140 ret = regmap_write(hlcdc->regmap, ATMEL_HLCDC_EN, in atmel_hlcdc_pwm_apply()
145 ret = regmap_read_poll_timeout(hlcdc->regmap, ATMEL_HLCDC_SR, in atmel_hlcdc_pwm_apply()
152 ret = regmap_write(hlcdc->regmap, ATMEL_HLCDC_DIS, in atmel_hlcdc_pwm_apply()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/display/atmel/
H A Dhlcdc-dc.txt4 See ../../mfd/atmel-hlcdc.txt for more details.
7 - compatible: value should be "atmel,hlcdc-display-controller"
27 hlcdc: hlcdc@f0030000 {
28 compatible = "atmel,sama5d3-hlcdc";
34 hlcdc-display-controller {
35 compatible = "atmel,hlcdc-display-controller";
53 hlcdc_pwm: hlcdc-pwm {
54 compatible = "atmel,hlcdc-pwm";
64 &hlcdc {
65 hlcdc-display-controller {
/openbmc/linux/Documentation/devicetree/bindings/pwm/
H A Datmel-hlcdc-pwm.txt4 See ../mfd/atmel-hlcdc.txt for more details.
8 "atmel,hlcdc-pwm"
17 hlcdc: hlcdc@f0030000 {
18 compatible = "atmel,sama5d3-hlcdc";
23 hlcdc_pwm: hlcdc-pwm {
24 compatible = "atmel,hlcdc-pwm";
/openbmc/u-boot/doc/device-tree-bindings/video/
H A Datmel-hlcdc.txt5 "atmel,sama5d2-hlcdc", "atmel,at91sam9x5-hlcdc".
17 hlcdc: hlcdc@f0000000 {
19 compatible = "atmel,sama5d2-hlcdc";
/openbmc/linux/drivers/gpu/drm/atmel-hlcdc/
H A Datmel_hlcdc_dc.c543 regmap_read(dc->hlcdc->regmap, ATMEL_HLCDC_IMR, &imr); in atmel_hlcdc_dc_irq_handler()
544 regmap_read(dc->hlcdc->regmap, ATMEL_HLCDC_ISR, &isr); in atmel_hlcdc_dc_irq_handler()
572 regmap_write(dc->hlcdc->regmap, ATMEL_HLCDC_IER, cfg); in atmel_hlcdc_dc_irq_postinstall()
580 regmap_write(dc->hlcdc->regmap, ATMEL_HLCDC_IDR, 0xffffffff); in atmel_hlcdc_dc_irq_disable()
581 regmap_read(dc->hlcdc->regmap, ATMEL_HLCDC_ISR, &isr); in atmel_hlcdc_dc_irq_disable()
669 dc->hlcdc = dev_get_drvdata(dev->dev->parent); in atmel_hlcdc_dc_load()
672 ret = clk_prepare_enable(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load()
695 ret = atmel_hlcdc_dc_irq_install(dev, dc->hlcdc->irq); in atmel_hlcdc_dc_load()
710 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_load()
730 clk_disable_unprepare(dc->hlcdc->periph_clk); in atmel_hlcdc_dc_unload()
[all …]
H A Datmel_hlcdc_crtc.c69 struct regmap *regmap = crtc->dc->hlcdc->regmap; in atmel_hlcdc_crtc_mode_set_nofb()
100 ret = clk_prepare_enable(crtc->dc->hlcdc->sys_clk); in atmel_hlcdc_crtc_mode_set_nofb()
124 prate = clk_get_rate(crtc->dc->hlcdc->sys_clk); in atmel_hlcdc_crtc_mode_set_nofb()
181 clk_disable_unprepare(crtc->dc->hlcdc->sys_clk); in atmel_hlcdc_crtc_mode_set_nofb()
198 struct regmap *regmap = crtc->dc->hlcdc->regmap; in atmel_hlcdc_crtc_atomic_disable()
220 clk_disable_unprepare(crtc->dc->hlcdc->sys_clk); in atmel_hlcdc_crtc_atomic_disable()
233 struct regmap *regmap = crtc->dc->hlcdc->regmap; in atmel_hlcdc_crtc_atomic_enable()
241 clk_prepare_enable(crtc->dc->hlcdc->sys_clk); in atmel_hlcdc_crtc_atomic_enable()
480 struct regmap *regmap = crtc->dc->hlcdc->regmap; in atmel_hlcdc_crtc_enable_vblank()
491 struct regmap *regmap = crtc->dc->hlcdc->regmap; in atmel_hlcdc_crtc_disable_vblank()
H A DMakefile2 atmel-hlcdc-dc-y := atmel_hlcdc_crtc.o \
7 obj-$(CONFIG_DRM_ATMEL_HLCDC) += atmel-hlcdc-dc.o
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dat91sam9x5_lcd.dtsi15 hlcdc: hlcdc@f8038000 { label
16 compatible = "atmel,at91sam9x5-hlcdc";
23 hlcdc-display-controller {
24 compatible = "atmel,hlcdc-display-controller";
35 hlcdc_pwm: hlcdc-pwm {
36 compatible = "atmel,hlcdc-pwm";
H A Dsama5d3_lcd.dtsi15 hlcdc: hlcdc@f0030000 { label
16 compatible = "atmel,sama5d3-hlcdc";
23 hlcdc-display-controller {
24 compatible = "atmel,hlcdc-display-controller";
35 hlcdc_pwm: hlcdc-pwm {
36 compatible = "atmel,hlcdc-pwm";
H A Dat91-sama5d4_ma5d4evk.dts39 hlcdc: hlcdc@f0000000 { label
42 hlcdc-display-controller {
H A Dat91-dvk_su60_somc_lcm.dtsi76 &hlcdc {
79 hlcdc-display-controller {
H A Dat91sam9x5dm.dtsi75 &hlcdc {
76 hlcdc-display-controller {
H A Dat91sam9n12ek.dts129 hlcdc: hlcdc@f8038000 { label
132 hlcdc-display-controller {
H A Dat91sam9n12.dtsi189 hlcdc: hlcdc@f8038000 { label
190 compatible = "atmel,at91sam9n12-hlcdc";
197 hlcdc-display-controller {
198 compatible = "atmel,hlcdc-display-controller";
209 hlcdc_pwm: hlcdc-pwm {
210 compatible = "atmel,hlcdc-pwm";
H A Dat91sam9g15ek.dts34 &hlcdc {
/openbmc/u-boot/arch/arm/dts/
H A Dat91sam9g15ek.dts20 hlcdc: hlcdc@f8038000 { label
H A Dat91sam9g35ek.dts25 hlcdc: hlcdc@f8038000 { label
H A Dat91sam9x35ek.dts24 hlcdc: hlcdc@f8038000 { label
H A Dat91sam9x5dm.dtsi27 hlcdc: hlcdc@f8038000 { label
H A Dsama5d3xdm.dtsi13 hlcdc: hlcdc@f0030000 { label
H A Dat91sam9n12ek.dts121 hlcdc: hlcdc@f8038000 { label
124 hlcdc-display-controller {
H A Dat91sam9x5_lcd.dtsi16 hlcdc: hlcdc@f8038000 { label
17 compatible = "atmel,at91sam9x5-hlcdc";
H A Dsama5d3_lcd.dtsi16 hlcdc: hlcdc@f0030000 { label
17 compatible = "atmel,at91sam9x5-hlcdc";

123