Fixes for omaps against v4.3-rc1:
- Fix long time regression on beagle for tfp410 pin muxing - Fix dm814x control base address typo and related Ethernet phy configuration - Fix igepv2 Ethernet pinmuxing as only some boards have it - Fix pbias regulator compatible values as a pending regulator fix needs those for MMC1 to work properly - Fix beagle-x15 MMC1 regulator and make pcf857x built-in - Fix omap5 and dra7 Kconfig options when built as the only SoCs selected - Fix PM errata for omap5 and dra7 as they too need it - Fix phycore mpu voltage Also included are a few cosmetic fixes: - Remove unused of_irq macros - Fix dra7 ethernet name -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAABAgAGBQJV9zECAAoJEBvUPslcq6VzROgP/1f1wd0NFGnuA8JIcFayYAbu SprUbKfG7RKwL2Qkpg1qs34TuxEwZFd6HoAu19rGeRimbQg04TdzZhk/xMjmLjpC yi7o51kMl09oyiZ8ITkZYSUDsD6FO4R9GoE9SRyorSzKxnJnO5UhmPdTsKqADQAe Sd6YeVvKXGJIp3umNXRoEUPhUDjewJr0/QwLnkNutWZh99cieWYM0ROR0zJ6QpYD MvThfi4/puVEqvwkOXfSGIaj81TQgW1wpaLOBeNV0M05yWI5SZIoLzyVdeF5ln+n E2qUji96n9WbSuKQIHVeQk5Ld6DyPuh6nktSphytNW0ZT4CU1wQdzySHHEjDu3x9 grMWNHe/LL5C9MJnPD0oVtlu+rQ7ABENi5//RyNvj/TAKmTJrHjKusO4LRR3fpQY 3BWogXLXYZ6eyaUOH0arILkzQaFudaVMWlVoollmHGGyLVuwqXqqktfoHfLYm4Fs A6DtvANOo95L1ltX57SJGfA2/GiUHLtom3M6ATAHTN9/LapFscRaXUArNO7Hx9an vqo2MIIGDLakSINohelbF0tssuUqEfhyybATMJRiaJMWY1zND43LhPEtsOZxZSny 7+sKtNG+jF/CQBfvMVZw69IcVU4S76fJkTitb19N1CNtHLyU2gi5mgTI1YFkBah1 15JPwlq2rj1Q6B3Vu2qw =2Q1v -----END PGP SIGNATURE----- Merge tag 'omap-for-v4.3/fixes-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes Merge "omap fixes against v4.3-rc1" from Tony Lindgren: Fixes for omaps against v4.3-rc1: - Fix long time regression on beagle for tfp410 pin muxing - Fix dm814x control base address typo and related Ethernet phy configuration - Fix igepv2 Ethernet pinmuxing as only some boards have it - Fix pbias regulator compatible values as a pending regulator fix needs those for MMC1 to work properly - Fix beagle-x15 MMC1 regulator and make pcf857x built-in - Fix omap5 and dra7 Kconfig options when built as the only SoCs selected - Fix PM errata for omap5 and dra7 as they too need it - Fix phycore mpu voltage Also included are a few cosmetic fixes: - Remove unused of_irq macros - Fix dra7 ethernet name * tag 'omap-for-v4.3/fixes-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap: ARM: dts: Fixup model name for HP t410 dts ARM: dts: DRA7: fix a typo in ethernet ARM: omap2plus_defconfig: make PCF857x built-in ARM: dts: Use ti,pbias compatible string for pbias ARM: OMAP5: Cleanup options for SoC only build ARM: DRA7: Select missing options for SoC only build ARM: OMAP2+: board-generic: Remove stale of_irq macros ARM: OMAP4+: PM: erratum is used by OMAP5 and DRA7 as well ARM: dts: omap3-igep: Move eth IRQ pinmux to IGEPv2 common dtsi ARM: dts: am57xx-beagle-x15: Add wakeup irq for mcp79410 ARM: dts: am335x-phycore-som: Fix mpu voltage ARM: dts: am57xx-beagle-x15: Fix regulator populated in MMC1 dt node ARM: dts: Fix dm814x control base to properly initialize Ethernet PHY ARM: dts: omap3-beagle: make i2c3, ddc and tfp410 gpio work again
This commit is contained in:
commit
54c3cf65ae
17 changed files with 34 additions and 36 deletions
|
@ -252,10 +252,10 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
vdd1_reg: regulator@2 {
|
vdd1_reg: regulator@2 {
|
||||||
/* VDD_MPU voltage limits 0.95V - 1.26V with +/-4% tolerance */
|
/* VDD_MPU voltage limits 0.95V - 1.325V with +/-4% tolerance */
|
||||||
regulator-name = "vdd_mpu";
|
regulator-name = "vdd_mpu";
|
||||||
regulator-min-microvolt = <912500>;
|
regulator-min-microvolt = <912500>;
|
||||||
regulator-max-microvolt = <1312500>;
|
regulator-max-microvolt = <1378000>;
|
||||||
regulator-boot-on;
|
regulator-boot-on;
|
||||||
regulator-always-on;
|
regulator-always-on;
|
||||||
};
|
};
|
||||||
|
|
|
@ -517,7 +517,8 @@
|
||||||
mcp_rtc: rtc@6f {
|
mcp_rtc: rtc@6f {
|
||||||
compatible = "microchip,mcp7941x";
|
compatible = "microchip,mcp7941x";
|
||||||
reg = <0x6f>;
|
reg = <0x6f>;
|
||||||
interrupts = <GIC_SPI 2 IRQ_TYPE_EDGE_RISING>; /* IRQ_SYS_1N */
|
interrupts-extended = <&crossbar_mpu GIC_SPI 2 IRQ_TYPE_EDGE_RISING>,
|
||||||
|
<&dra7_pmx_core 0x424>;
|
||||||
|
|
||||||
pinctrl-names = "default";
|
pinctrl-names = "default";
|
||||||
pinctrl-0 = <&mcp79410_pins_default>;
|
pinctrl-0 = <&mcp79410_pins_default>;
|
||||||
|
@ -579,7 +580,6 @@
|
||||||
pinctrl-0 = <&mmc1_pins_default>;
|
pinctrl-0 = <&mmc1_pins_default>;
|
||||||
|
|
||||||
vmmc-supply = <&ldo1_reg>;
|
vmmc-supply = <&ldo1_reg>;
|
||||||
vmmc_aux-supply = <&vdd_3v3>;
|
|
||||||
bus-width = <4>;
|
bus-width = <4>;
|
||||||
cd-gpios = <&gpio6 27 0>; /* gpio 219 */
|
cd-gpios = <&gpio6 27 0>; /* gpio 219 */
|
||||||
};
|
};
|
||||||
|
|
|
@ -19,10 +19,10 @@
|
||||||
|
|
||||||
&cpsw_emac0 {
|
&cpsw_emac0 {
|
||||||
phy_id = <&davinci_mdio>, <0>;
|
phy_id = <&davinci_mdio>, <0>;
|
||||||
phy-mode = "mii";
|
phy-mode = "rgmii";
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpsw_emac1 {
|
&cpsw_emac1 {
|
||||||
phy_id = <&davinci_mdio>, <1>;
|
phy_id = <&davinci_mdio>, <1>;
|
||||||
phy-mode = "mii";
|
phy-mode = "rgmii";
|
||||||
};
|
};
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
#include "dm814x.dtsi"
|
#include "dm814x.dtsi"
|
||||||
|
|
||||||
/ {
|
/ {
|
||||||
model = "DM8148 EVM";
|
model = "HP t410 Smart Zero Client";
|
||||||
compatible = "hp,t410", "ti,dm8148";
|
compatible = "hp,t410", "ti,dm8148";
|
||||||
|
|
||||||
memory {
|
memory {
|
||||||
|
@ -19,10 +19,10 @@
|
||||||
|
|
||||||
&cpsw_emac0 {
|
&cpsw_emac0 {
|
||||||
phy_id = <&davinci_mdio>, <0>;
|
phy_id = <&davinci_mdio>, <0>;
|
||||||
phy-mode = "mii";
|
phy-mode = "rgmii";
|
||||||
};
|
};
|
||||||
|
|
||||||
&cpsw_emac1 {
|
&cpsw_emac1 {
|
||||||
phy_id = <&davinci_mdio>, <1>;
|
phy_id = <&davinci_mdio>, <1>;
|
||||||
phy-mode = "mii";
|
phy-mode = "rgmii";
|
||||||
};
|
};
|
||||||
|
|
|
@ -181,9 +181,9 @@
|
||||||
ti,hwmods = "timer3";
|
ti,hwmods = "timer3";
|
||||||
};
|
};
|
||||||
|
|
||||||
control: control@160000 {
|
control: control@140000 {
|
||||||
compatible = "ti,dm814-scm", "simple-bus";
|
compatible = "ti,dm814-scm", "simple-bus";
|
||||||
reg = <0x160000 0x16d000>;
|
reg = <0x140000 0x16d000>;
|
||||||
#address-cells = <1>;
|
#address-cells = <1>;
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
ranges = <0 0x160000 0x16d000>;
|
ranges = <0 0x160000 0x16d000>;
|
||||||
|
@ -321,9 +321,9 @@
|
||||||
mac-address = [ 00 00 00 00 00 00 ];
|
mac-address = [ 00 00 00 00 00 00 ];
|
||||||
};
|
};
|
||||||
|
|
||||||
phy_sel: cpsw-phy-sel@0x48160650 {
|
phy_sel: cpsw-phy-sel@48140650 {
|
||||||
compatible = "ti,am3352-cpsw-phy-sel";
|
compatible = "ti,am3352-cpsw-phy-sel";
|
||||||
reg= <0x48160650 0x4>;
|
reg= <0x48140650 0x4>;
|
||||||
reg-names = "gmii-sel";
|
reg-names = "gmii-sel";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
@ -122,7 +122,7 @@
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
||||||
pbias_regulator: pbias_regulator {
|
pbias_regulator: pbias_regulator {
|
||||||
compatible = "ti,pbias-omap";
|
compatible = "ti,pbias-dra7", "ti,pbias-omap";
|
||||||
reg = <0xe00 0x4>;
|
reg = <0xe00 0x4>;
|
||||||
syscon = <&scm_conf>;
|
syscon = <&scm_conf>;
|
||||||
pbias_mmc_reg: pbias_mmc_omap5 {
|
pbias_mmc_reg: pbias_mmc_omap5 {
|
||||||
|
@ -1417,7 +1417,7 @@
|
||||||
ti,irqs-safe-map = <0>;
|
ti,irqs-safe-map = <0>;
|
||||||
};
|
};
|
||||||
|
|
||||||
mac: ethernet@4a100000 {
|
mac: ethernet@48484000 {
|
||||||
compatible = "ti,dra7-cpsw","ti,cpsw";
|
compatible = "ti,dra7-cpsw","ti,cpsw";
|
||||||
ti,hwmods = "gmac";
|
ti,hwmods = "gmac";
|
||||||
clocks = <&dpll_gmac_ck>, <&gmac_gmii_ref_clk_div>;
|
clocks = <&dpll_gmac_ck>, <&gmac_gmii_ref_clk_div>;
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pbias_regulator: pbias_regulator {
|
pbias_regulator: pbias_regulator {
|
||||||
compatible = "ti,pbias-omap";
|
compatible = "ti,pbias-omap2", "ti,pbias-omap";
|
||||||
reg = <0x230 0x4>;
|
reg = <0x230 0x4>;
|
||||||
syscon = <&scm_conf>;
|
syscon = <&scm_conf>;
|
||||||
pbias_mmc_reg: pbias_mmc_omap2430 {
|
pbias_mmc_reg: pbias_mmc_omap2430 {
|
||||||
|
|
|
@ -202,7 +202,7 @@
|
||||||
|
|
||||||
tfp410_pins: pinmux_tfp410_pins {
|
tfp410_pins: pinmux_tfp410_pins {
|
||||||
pinctrl-single,pins = <
|
pinctrl-single,pins = <
|
||||||
0x194 (PIN_OUTPUT | MUX_MODE4) /* hdq_sio.gpio_170 */
|
0x196 (PIN_OUTPUT | MUX_MODE4) /* hdq_sio.gpio_170 */
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -78,12 +78,6 @@
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
smsc9221_pins: pinmux_smsc9221_pins {
|
|
||||||
pinctrl-single,pins = <
|
|
||||||
0x1a2 (PIN_INPUT | MUX_MODE4) /* mcspi1_cs2.gpio_176 */
|
|
||||||
>;
|
|
||||||
};
|
|
||||||
|
|
||||||
i2c1_pins: pinmux_i2c1_pins {
|
i2c1_pins: pinmux_i2c1_pins {
|
||||||
pinctrl-single,pins = <
|
pinctrl-single,pins = <
|
||||||
0x18a (PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */
|
0x18a (PIN_INPUT | MUX_MODE0) /* i2c1_scl.i2c1_scl */
|
||||||
|
|
|
@ -156,6 +156,12 @@
|
||||||
OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
|
OMAP3_CORE1_IOPAD(0x217a, PIN_INPUT | MUX_MODE0) /* uart2_rx.uart2_rx */
|
||||||
>;
|
>;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
smsc9221_pins: pinmux_smsc9221_pins {
|
||||||
|
pinctrl-single,pins = <
|
||||||
|
OMAP3_CORE1_IOPAD(0x21d2, PIN_INPUT | MUX_MODE4) /* mcspi1_cs2.gpio_176 */
|
||||||
|
>;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
&omap3_pmx_core2 {
|
&omap3_pmx_core2 {
|
||||||
|
|
|
@ -203,7 +203,7 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
pbias_regulator: pbias_regulator {
|
pbias_regulator: pbias_regulator {
|
||||||
compatible = "ti,pbias-omap";
|
compatible = "ti,pbias-omap3", "ti,pbias-omap";
|
||||||
reg = <0x2b0 0x4>;
|
reg = <0x2b0 0x4>;
|
||||||
syscon = <&scm_conf>;
|
syscon = <&scm_conf>;
|
||||||
pbias_mmc_reg: pbias_mmc_omap2430 {
|
pbias_mmc_reg: pbias_mmc_omap2430 {
|
||||||
|
|
|
@ -198,7 +198,7 @@
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
||||||
pbias_regulator: pbias_regulator {
|
pbias_regulator: pbias_regulator {
|
||||||
compatible = "ti,pbias-omap";
|
compatible = "ti,pbias-omap4", "ti,pbias-omap";
|
||||||
reg = <0x60 0x4>;
|
reg = <0x60 0x4>;
|
||||||
syscon = <&omap4_padconf_global>;
|
syscon = <&omap4_padconf_global>;
|
||||||
pbias_mmc_reg: pbias_mmc_omap4 {
|
pbias_mmc_reg: pbias_mmc_omap4 {
|
||||||
|
|
|
@ -187,7 +187,7 @@
|
||||||
#size-cells = <1>;
|
#size-cells = <1>;
|
||||||
|
|
||||||
pbias_regulator: pbias_regulator {
|
pbias_regulator: pbias_regulator {
|
||||||
compatible = "ti,pbias-omap";
|
compatible = "ti,pbias-omap5", "ti,pbias-omap";
|
||||||
reg = <0x60 0x4>;
|
reg = <0x60 0x4>;
|
||||||
syscon = <&omap5_padconf_global>;
|
syscon = <&omap5_padconf_global>;
|
||||||
pbias_mmc_reg: pbias_mmc_omap5 {
|
pbias_mmc_reg: pbias_mmc_omap5 {
|
||||||
|
|
|
@ -240,7 +240,7 @@ CONFIG_SSI_PROTOCOL=m
|
||||||
CONFIG_PINCTRL_SINGLE=y
|
CONFIG_PINCTRL_SINGLE=y
|
||||||
CONFIG_DEBUG_GPIO=y
|
CONFIG_DEBUG_GPIO=y
|
||||||
CONFIG_GPIO_SYSFS=y
|
CONFIG_GPIO_SYSFS=y
|
||||||
CONFIG_GPIO_PCF857X=m
|
CONFIG_GPIO_PCF857X=y
|
||||||
CONFIG_GPIO_TWL4030=y
|
CONFIG_GPIO_TWL4030=y
|
||||||
CONFIG_GPIO_PALMAS=y
|
CONFIG_GPIO_PALMAS=y
|
||||||
CONFIG_W1=m
|
CONFIG_W1=m
|
||||||
|
|
|
@ -44,10 +44,11 @@ config SOC_OMAP5
|
||||||
select ARM_CPU_SUSPEND if PM
|
select ARM_CPU_SUSPEND if PM
|
||||||
select ARM_GIC
|
select ARM_GIC
|
||||||
select HAVE_ARM_SCU if SMP
|
select HAVE_ARM_SCU if SMP
|
||||||
select HAVE_ARM_TWD if SMP
|
|
||||||
select HAVE_ARM_ARCH_TIMER
|
select HAVE_ARM_ARCH_TIMER
|
||||||
select ARM_ERRATA_798181 if SMP
|
select ARM_ERRATA_798181 if SMP
|
||||||
|
select OMAP_INTERCONNECT
|
||||||
select OMAP_INTERCONNECT_BARRIER
|
select OMAP_INTERCONNECT_BARRIER
|
||||||
|
select PM_OPP if PM
|
||||||
|
|
||||||
config SOC_AM33XX
|
config SOC_AM33XX
|
||||||
bool "TI AM33XX"
|
bool "TI AM33XX"
|
||||||
|
@ -70,10 +71,13 @@ config SOC_DRA7XX
|
||||||
select ARCH_OMAP2PLUS
|
select ARCH_OMAP2PLUS
|
||||||
select ARM_CPU_SUSPEND if PM
|
select ARM_CPU_SUSPEND if PM
|
||||||
select ARM_GIC
|
select ARM_GIC
|
||||||
|
select HAVE_ARM_SCU if SMP
|
||||||
select HAVE_ARM_ARCH_TIMER
|
select HAVE_ARM_ARCH_TIMER
|
||||||
select IRQ_CROSSBAR
|
select IRQ_CROSSBAR
|
||||||
select ARM_ERRATA_798181 if SMP
|
select ARM_ERRATA_798181 if SMP
|
||||||
|
select OMAP_INTERCONNECT
|
||||||
select OMAP_INTERCONNECT_BARRIER
|
select OMAP_INTERCONNECT_BARRIER
|
||||||
|
select PM_OPP if PM
|
||||||
|
|
||||||
config ARCH_OMAP2PLUS
|
config ARCH_OMAP2PLUS
|
||||||
bool
|
bool
|
||||||
|
|
|
@ -20,13 +20,6 @@
|
||||||
|
|
||||||
#include "common.h"
|
#include "common.h"
|
||||||
|
|
||||||
#if !(defined(CONFIG_ARCH_OMAP2) || defined(CONFIG_ARCH_OMAP3))
|
|
||||||
#define intc_of_init NULL
|
|
||||||
#endif
|
|
||||||
#ifndef CONFIG_ARCH_OMAP4
|
|
||||||
#define gic_of_init NULL
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static const struct of_device_id omap_dt_match_table[] __initconst = {
|
static const struct of_device_id omap_dt_match_table[] __initconst = {
|
||||||
{ .compatible = "simple-bus", },
|
{ .compatible = "simple-bus", },
|
||||||
{ .compatible = "ti,omap-infra", },
|
{ .compatible = "ti,omap-infra", },
|
||||||
|
|
|
@ -103,7 +103,8 @@ static inline void enable_omap3630_toggle_l2_on_restore(void) { }
|
||||||
#define PM_OMAP4_ROM_SMP_BOOT_ERRATUM_GICD (1 << 0)
|
#define PM_OMAP4_ROM_SMP_BOOT_ERRATUM_GICD (1 << 0)
|
||||||
#define PM_OMAP4_CPU_OSWR_DISABLE (1 << 1)
|
#define PM_OMAP4_CPU_OSWR_DISABLE (1 << 1)
|
||||||
|
|
||||||
#if defined(CONFIG_PM) && defined(CONFIG_ARCH_OMAP4)
|
#if defined(CONFIG_PM) && (defined(CONFIG_ARCH_OMAP4) ||\
|
||||||
|
defined(CONFIG_SOC_OMAP5) || defined(CONFIG_SOC_DRA7XX))
|
||||||
extern u16 pm44xx_errata;
|
extern u16 pm44xx_errata;
|
||||||
#define IS_PM44XX_ERRATUM(id) (pm44xx_errata & (id))
|
#define IS_PM44XX_ERRATUM(id) (pm44xx_errata & (id))
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue