/linux/Documentation/devicetree/bindings/clock/ |
H A 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 …]
|
H A 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/arch/arm/boot/dts/marvell/ |
H A 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 …]
|
H A 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 …]
|
H A 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/Documentation/devicetree/bindings/media/ |
H A 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 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/Documentation/devicetree/bindings/spi/ |
H A 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> 16 - marvell,mmp2-ssp 17 - mrvl,ce4100-ssp 18 - mvrl,pxa168-ssp 19 - mrvl,pxa25x-ssp 20 - mvrl,pxa25x-nssp [all …]
|
/linux/Documentation/devicetree/bindings/gpio/ |
H A 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@kernel.org> 15 - if: 20 - intel,pxa25x-gpio 21 - intel,pxa26x-gpio [all …]
|
/linux/drivers/clk/mmp/ |
H A 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> 125 aud_pll_ctrl0 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL0); in audio_pll_recalc_rate() 133 aud_pll_ctrl1 = readl(priv->mmio_base + SSPA_AUD_PLL_CTRL1); in audio_pll_recalc_rate() 216 writel(val, priv->mmio_base + SSPA_AUD_PLL_CTRL0); in audio_pll_set_rate() 220 writel(val, priv->mmio_base + SSPA_AUD_PLL_CTRL1); in audio_pll_set_rate() 226 return -ERANGE; in audio_pll_set_rate() 238 { .hw = &priv->audio_pll_hw }, in register_clocks() [all …]
|
H A 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> 182 struct mmp_clk_unit *unit = &pxa_unit->unit; in mmp2_main_clk_init() 187 if (pxa_unit->model == CLK_MODEL_MMP3) { in mmp2_main_clk_init() 189 pxa_unit->mpmu_base, in mmp2_main_clk_init() 193 pxa_unit->mpmu_base, in mmp2_main_clk_init() 202 pxa_unit->mpmu_base + MPMU_UART_PLL, in mmp2_main_clk_init() 209 pxa_unit->mpmu_base + MPMU_I2S0_PLL, in mmp2_main_clk_init() [all …]
|
H A 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 …]
|
H A 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> 71 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa1928_pll_init() 81 pxa_unit->mpmu_base + MPMU_UART_PLL, in pxa1928_pll_init() 132 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa1928_apb_periph_clk_init() 134 mmp_register_mux_clks(unit, apbc_mux_clks, pxa_unit->apbc_base, in pxa1928_apb_periph_clk_init() 137 mmp_register_gate_clks(unit, apbc_gate_clks, pxa_unit->apbc_base, in pxa1928_apb_periph_clk_init() 171 struct mmp_clk_unit *unit = &pxa_unit->unit; in pxa1928_axi_periph_clk_init() [all …]
|
/linux/drivers/clk/ |
H A 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" 28 The common clock framework is a single definition of struct 30 implementation of the clock API in include/linux/clk.h. 37 tristate "Clock driver for WM831x/2x PMICs" 54 tristate "Ti LMK04832 JESD204B Compliant Clock Jitter Cleaner" 59 Low-Noise JESD204B Compliant Clock Jitter Cleaner With Dual Loop PLLs 62 tristate "Clock driver for Apple SoC NCOs" [all …]
|
/linux/Documentation/devicetree/bindings/usb/ |
H A 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/Documentation/devicetree/bindings/sound/ |
H A 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> 13 - $ref: dai-common.yaml# 17 pattern: "^audio-controller(@.*)?$" 20 const: marvell,mmp-sspa 24 - description: RX block 25 - description: TX block [all …]
|
/linux/Documentation/devicetree/bindings/i2c/ |
H A 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@kernel.org> 13 - $ref: /schemas/i2c/i2c-controller.yaml# 14 - if: 17 - mrvl,i2c-polling 20 - interrupts 25 - mrvl,mmp-twsi [all …]
|
/linux/include/linux/platform_data/ |
H A 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/drivers/video/fbdev/mmp/hw/ |
H A 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/drivers/media/platform/marvell/ |
H A 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"); 54 * dphy[0] - CSI2_DPHY3 55 * dphy[1] - CSI2_DPHY5 56 * dphy[2] - CSI2_DPHY6 63 struct mmp_camera_platform_data *pdata = cam->pdev->dev.platform_data; in mmpcam_calc_dphy() 64 struct device *dev = &cam->pdev->dev; in mmpcam_calc_dphy() [all …]
|
/linux/drivers/gpio/ |
H A 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> 33 * BANK 0 - 0x0000 0x000C 0x0018 0x0024 0x0030 0x003C 0x0048 34 * BANK 1 - 0x0004 0x0010 0x001C 0x0028 0x0034 0x0040 0x004C 35 * BANK 2 - 0x0008 0x0014 0x0020 0x002C 0x0038 0x0044 0x0050 37 * BANK 3 - 0x0100 0x010C 0x0118 0x0124 0x0130 0x013C 0x0148 38 * BANK 4 - 0x0104 0x0110 0x011C 0x0128 0x0134 0x0140 0x014C 39 * BANK 5 - 0x0108 0x0114 0x0120 0x012C 0x0138 0x0144 0x0150 41 * BANK 6 - 0x0200 0x020C 0x0218 0x0224 0x0230 0x023C 0x0248 [all …]
|
/linux/drivers/spi/ |
H A D | spi-pxa2xx.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 30 #include "spi-pxa2xx.h" 80 /* LPSS offset from drv_data->ioaddr */ 82 /* Register offsets from drv_data->lpss_base or -1 */ 105 .reg_capabilities = -1, 115 .reg_capabilities = -1, 125 .reg_capabilities = -1, 134 .reg_general = -1, 137 .reg_capabilities = -1, 144 .reg_general = -1, [all …]
|