/Linux-v6.1/Documentation/devicetree/bindings/clock/ |
D | marvell,mmp2-audio-clock.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/clock/marvell,mmp2-audio-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Marvell MMP2 Audio Clock Controller 10 - Lubomir Rintel <lkundrak@v3.sk> 13 The audio clock controller generates and supplies the clocks to the audio 16 Each clock is assigned an identifier and client nodes use this identifier 17 to specify the clock which they consume. 20 <dt-bindings/clock/marvell,mmp2-audio.h>. [all …]
|
D | marvell,mmp2-clock.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 4 $id: http://devicetree.org/schemas/clock/marvell,mmp2-clock.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Marvell MMP2 and MMP3 Clock Controller 10 - Lubomir Rintel <lkundrak@v3.sk> 13 The clock subsystem on MMP2 or MMP3 generates and supplies clock to various 16 Each clock is assigned an identifier and client nodes use this identifier 17 to specify the clock which they consume. 19 All these identifiers could be found in <dt-bindings/clock/marvell,mmp2.h>. [all …]
|
/Linux-v6.1/arch/arm/boot/dts/ |
D | mmp2.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 7 #include <dt-bindings/clock/marvell,mmp2.h> 8 #include <dt-bindings/power/marvell,mmp2.h> 9 #include <dt-bindings/clock/marvell,mmp2-audio.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 25 #address-cells = <1>; 26 #size-cells = <1>; 27 compatible = "simple-bus"; 28 interrupt-parent = <&intc>; [all …]
|
D | mmp3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ OR MIT 6 #include <dt-bindings/clock/marvell,mmp2.h> 7 #include <dt-bindings/power/marvell,mmp2.h> 8 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #address-cells = <1>; 12 #size-cells = <1>; 15 #address-cells = <1>; 16 #size-cells = <0>; 17 enable-method = "marvell,mmp3-smp"; 22 next-level-cache = <&l2>; [all …]
|
D | mmp2-olpc-xo-1-75.dts | 1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT 8 /dts-v1/; 9 #include "mmp2.dtsi" 10 #include <dt-bindings/gpio/gpio.h> 11 #include <dt-bindings/input/linux-event-codes.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 13 #include <dt-bindings/clock/marvell,mmp2-audio.h> 16 model = "OLPC XO-1.75"; 17 compatible = "olpc,xo-1.75", "mrvl,mmp2"; 20 #address-cells = <1>; [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/media/ |
D | marvell,mmp2-ccic.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/media/marvell,mmp2-ccic.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 8 title: Marvell MMP2 camera host interface bindings 11 - Lubomir Rintel <lkundrak@v3.sk> 15 pattern: '^camera@[a-f0-9]+$' 18 const: marvell,mmp2-ccic 26 power-domains: 30 $ref: /schemas/graph.yaml#/$defs/port-base [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/spi/ |
D | marvell,mmp2-ssp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/spi/marvell,mmp2-ssp.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Lubomir Rintel <lkundrak@v3.sk> 14 - $ref: spi-controller.yaml# 18 const: marvell,mmp2-ssp 29 ready-gpios: 36 - compatible 37 - reg [all …]
|
/Linux-v6.1/arch/arm/mach-mmp/ |
D | mmp2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/mach-mmp/mmp2.c 5 * code name MMP2 18 #include <asm/hardware/cache-tauros2.h> 21 #include "addr-map.h" 22 #include "regs-apbc.h" 27 #include "mmp2.h" 28 #include "pm-mmp2.h" 128 * enable bus/functional clock, enable 6.5MHz (divider 4), in mmp2_timer_init() 137 /* on-chip devices */ [all …]
|
D | pm-mmp2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * MMP2 Power Management Routines 18 #include <asm/mach-types.h> 21 #include "addr-map.h" 22 #include "pm-mmp2.h" 23 #include "regs-icu.h" 29 int irq = d->irq; in mmp2_set_wake() 63 /* close AXI fabric clock gate */ in pm_scu_clk_disable() 67 /* close MCB master clock gate */ in pm_scu_clk_disable() 79 /* open AXI fabric clock gate */ in pm_scu_clk_enable() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/gpio/ |
D | mrvl-gpio.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/gpio/mrvl-gpio.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 11 - Bartosz Golaszewski <bgolaszewski@baylibre.com> 12 - Rob Herring <robh+dt@kernel.org> 15 - if: 20 - intel,pxa25x-gpio 21 - intel,pxa26x-gpio [all …]
|
/Linux-v6.1/drivers/clk/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0 6 The <linux/clk.h> calls support software clock gating and 16 Select this option when the clock API in <linux/clk.h> is implemented 22 bool "Common Clock Framework" 29 The common clock framework is a single definition of struct 31 implementation of the clock API in include/linux/clk.h. 38 tristate "Clock driver for WM831x/2x PMICs" 55 tristate "Ti LMK04832 JESD204B Compliant Clock Jitter Cleaner" 60 Low-Noise JESD204B Compliant Clock Jitter Cleaner With Dual Loop PLLs 63 tristate "Clock driver for Apple SoC NCOs" [all …]
|
/Linux-v6.1/drivers/clk/mmp/ |
D | clk-audio.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MMP Audio Clock Controller driver 8 #include <linux/clk-provider.h> 15 #include <dt-bindings/clock/marvell,mmp2-audio.h> 123 aud_pll_ctrl0 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL0); in audio_pll_recalc_rate() 131 aud_pll_ctrl1 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL1); in audio_pll_recalc_rate() 214 writel(val, priv->mmio_base + SSPA_AUD_PLL_CTRL0); in audio_pll_set_rate() 218 writel(val, priv->mmio_base + SSPA_AUD_PLL_CTRL1); in audio_pll_set_rate() 224 return -ERANGE; in audio_pll_set_rate() 236 { .hw = &priv->audio_pll_hw }, in register_clocks() [all …]
|
D | clk-mmp2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mmp2 clock framework source file 192 clk_register_clkdev(clk, NULL, "pxa2xx-i2c.0"); in mmp2_clk_init() 196 clk_register_clkdev(clk, NULL, "pxa2xx-i2c.1"); in mmp2_clk_init() 200 clk_register_clkdev(clk, NULL, "pxa2xx-i2c.2"); in mmp2_clk_init() 204 clk_register_clkdev(clk, NULL, "pxa2xx-i2c.3"); in mmp2_clk_init() 208 clk_register_clkdev(clk, NULL, "pxa2xx-i2c.4"); in mmp2_clk_init() 212 clk_register_clkdev(clk, NULL, "pxa2xx-i2c.5"); in mmp2_clk_init() 216 clk_register_clkdev(clk, NULL, "mmp2-gpio"); in mmp2_clk_init() 220 clk_register_clkdev(clk, NULL, "pxa27x-keypad"); in mmp2_clk_init() [all …]
|
D | clk-of-mmp2.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * mmp2 clock framework source file 19 #include <dt-bindings/clock/marvell,mmp2.h> 20 #include <dt-bindings/power/marvell,mmp2.h> 180 struct mmp_clk_unit *unit = &pxa_unit->unit; in mmp2_main_clk_init() 185 if (pxa_unit->model == CLK_MODEL_MMP3) { in mmp2_main_clk_init() 187 pxa_unit->mpmu_base, in mmp2_main_clk_init() 191 pxa_unit->mpmu_base, in mmp2_main_clk_init() 200 pxa_unit->mpmu_base + MPMU_UART_PLL, in mmp2_main_clk_init() 207 pxa_unit->mpmu_base + MPMU_I2S0_PLL, in mmp2_main_clk_init() [all …]
|
D | clk-pll.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MMP PLL clock rate calculation 8 #include <linux/clk-provider.h> 34 val = readl_relaxed(pll->enable_reg); in mmp_clk_pll_is_enabled() 35 if ((val & pll->enable) == pll->enable) in mmp_clk_pll_is_enabled() 38 /* Some PLLs, if not software controlled, output default clock. */ in mmp_clk_pll_is_enabled() 39 if (pll->default_rate > 0) in mmp_clk_pll_is_enabled() 53 val = readl_relaxed(pll->enable_reg); in mmp_clk_pll_recalc_rate() 54 if ((val & pll->enable) != pll->enable) in mmp_clk_pll_recalc_rate() 55 return pll->default_rate; in mmp_clk_pll_recalc_rate() [all …]
|
D | clk-of-pxa1928.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pxa1928 clock framework source file 8 * Based on drivers/clk/mmp/clk-of-mmp2.c: 18 #include <dt-bindings/clock/marvell,pxa1928.h> 68 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa1928_pll_init() 78 pxa_unit->mpmu_base + MPMU_UART_PLL, in pxa1928_pll_init() 129 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa1928_apb_periph_clk_init() 131 mmp_register_mux_clks(unit, apbc_mux_clks, pxa_unit->apbc_base, in pxa1928_apb_periph_clk_init() 134 mmp_register_gate_clks(unit, apbc_gate_clks, pxa_unit->apbc_base, in pxa1928_apb_periph_clk_init() 168 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa1928_axi_periph_clk_init() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/usb/ |
D | marvell,pxau2o-ehci.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 4 --- 5 $id: http://devicetree.org/schemas/usb/marvell,pxau2o-ehci.yaml# 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Lubomir Rintel <lkundrak@v3.sk> 14 - $ref: usb-hcd.yaml# 18 const: marvell,pxau2o-ehci 29 clock-names: 35 phy-names: 39 - compatible [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/sound/ |
D | marvell,mmp-sspa.yaml | 1 # SPDX-License-Identifier: (GPL-2.0+ OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/sound/marvell,mmp-sspa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lubomir Rintel <lkundrak@v3.sk> 14 pattern: "^audio-controller(@.*)?$" 17 const: marvell,mmp-sspa 21 - description: RX block 22 - description: TX block 29 - description: Clock for the Audio block [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/i2c/ |
D | i2c-pxa.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/i2c/i2c-pxa.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh+dt@kernel.org> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 - if: 17 - mrvl,i2c-polling 20 - interrupts 25 - mrvl,mmp-twsi [all …]
|
/Linux-v6.1/include/linux/platform_data/ |
D | pxa_sdhci.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * PXA Platform - SDHCI platform data definitions 15 /* Require clock free running */ 17 /* card always wired to host, like on-chip emmc */ 19 /* Board design supports 8-bit data on SD/SDIO BUS */ 23 * struct pxa_sdhci_platdata() - Platform device data for PXA SDHCI 26 * mmp2: each step is roughly 100ps, 5bits width
|
/Linux-v6.1/drivers/media/platform/marvell/ |
D | mmp-driver.c | 1 // SPDX-License-Identifier: GPL-2.0-only 17 #include <media/v4l2-device.h> 18 #include <linux/platform_data/media/mmp-camera.h> 29 #include "mcam-core.h" 31 MODULE_ALIAS("platform:mmp-camera"); 53 * dphy[0] - CSI2_DPHY3 54 * dphy[1] - CSI2_DPHY5 55 * dphy[2] - CSI2_DPHY6 62 struct mmp_camera_platform_data *pdata = cam->pdev->dev.platform_data; in mmpcam_calc_dphy() 63 struct device *dev = &cam->pdev->dev; in mmpcam_calc_dphy() [all …]
|
/Linux-v6.1/drivers/video/fbdev/mmp/hw/ |
D | mmp_ctrl.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 16 /* ------------< LCD register >------------ */ 18 /* TV patch register for MMP2 */ 150 #define LCD_SCLK(path) ((PATH_PN == path->id) ? LCD_CFG_SCLK_DIV :\ 151 ((PATH_TV == path->id) ? LCD_TCLK_DIV : LCD_PN2_SCLK_DIV)) 321 #define LCD_PN_SEPXLCNT 0x013c /* MMP2 */ 339 #define LCD_READ_IOPAD (0x0148) /* MMP2*/ 361 #define LCD_SLV_DBG (0x0164) /* MMP2 */ 371 #define LCD_TV_PALETTE_RDDAT (0x0178) /* MMP2 */ 380 #define LCD_FRAME_CNT (0x017C) /* MMP2 */ [all …]
|
/Linux-v6.1/drivers/gpio/ |
D | gpio-pxa.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * linux/arch/arm/plat-pxa/gpio.c 15 #include <linux/gpio-pxa.h> 34 * BANK 0 - 0x0000 0x000C 0x0018 0x0024 0x0030 0x003C 0x0048 35 * BANK 1 - 0x0004 0x0010 0x001C 0x0028 0x0034 0x0040 0x004C 36 * BANK 2 - 0x0008 0x0014 0x0020 0x002C 0x0038 0x0044 0x0050 38 * BANK 3 - 0x0100 0x010C 0x0118 0x0124 0x0130 0x013C 0x0148 39 * BANK 4 - 0x0104 0x0110 0x011C 0x0128 0x0134 0x0140 0x014C 40 * BANK 5 - 0x0108 0x0114 0x0120 0x012C 0x0138 0x0144 0x0150 42 * BANK 6 - 0x0200 0x020C 0x0218 0x0224 0x0230 0x023C 0x0248 [all …]
|
/Linux-v6.1/drivers/spi/ |
D | spi-pxa2xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 32 #include "spi-pxa2xx.h" 37 MODULE_ALIAS("platform:pxa2xx-spi"); 79 /* LPSS offset from drv_data->ioaddr */ 81 /* Register offsets from drv_data->lpss_base or -1 */ 105 .reg_capabilities = -1, 115 .reg_capabilities = -1, 125 .reg_capabilities = -1, 135 .reg_general = -1, 138 .reg_capabilities = -1, [all …]
|