Add upstream patch to fix a Anatop (i.MX) regulator loading as a module, Add support for BeagleBone Green
This commit is contained in:
parent
294b7665e6
commit
88f941a2d8
|
@ -0,0 +1,103 @@
|
|||
From patchwork Fri Sep 25 15:10:31 2015
|
||||
Content-Type: text/plain; charset="utf-8"
|
||||
MIME-Version: 1.0
|
||||
Content-Transfer-Encoding: 7bit
|
||||
Subject: ARM: dts: Add am335x-bonegreen
|
||||
From: Robert Nelson <robertcnelson@gmail.com>
|
||||
X-Patchwork-Id: 7265851
|
||||
Message-Id: <1443193831-5693-1-git-send-email-robertcnelson@gmail.com>
|
||||
To: tony@atomide.com, devicetree@vger.kernel.org
|
||||
Cc: linux-omap@vger.kernel.org, linux-arm-kernel@lists.infradead.org,
|
||||
Robert Nelson <robertcnelson@gmail.com>, Jason Kridner <jkridner@gmail.com>
|
||||
Date: Fri, 25 Sep 2015 10:10:31 -0500
|
||||
|
||||
SeeedStudio BeagleBone Green (BBG) is clone of the BeagleBone Black (BBB) minus
|
||||
the HDMI port and addition of two Grove connectors (i2c2 and usart2).
|
||||
|
||||
This board can be identified by the 1A value after A335BNLT (BBB) in the at24 eeprom:
|
||||
1A: [aa 55 33 ee 41 33 33 35 42 4e 4c 54 1a 00 00 00 |.U3.A335BNLT....|]
|
||||
|
||||
http://beagleboard.org/green
|
||||
http://www.seeedstudio.com/wiki/Beaglebone_green
|
||||
|
||||
Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
|
||||
CC: Tony Lindgren <tony@atomide.com>
|
||||
CC: Jason Kridner <jkridner@gmail.com>
|
||||
|
||||
---
|
||||
arch/arm/boot/dts/Makefile | 1 +
|
||||
arch/arm/boot/dts/am335x-bonegreen.dts | 53 ++++++++++++++++++++++++++++++++++
|
||||
2 files changed, 54 insertions(+)
|
||||
create mode 100644 arch/arm/boot/dts/am335x-bonegreen.dts
|
||||
|
||||
diff --git a/arch/arm/boot/dts/Makefile b/arch/arm/boot/dts/Makefile
|
||||
index 233159d..e45d771 100644
|
||||
--- a/arch/arm/boot/dts/Makefile
|
||||
+++ b/arch/arm/boot/dts/Makefile
|
||||
@@ -446,6 +446,7 @@ dtb-$(CONFIG_SOC_AM33XX) += \
|
||||
am335x-base0033.dtb \
|
||||
am335x-bone.dtb \
|
||||
am335x-boneblack.dtb \
|
||||
+ am335x-bonegreen.dtb \
|
||||
am335x-sl50.dtb \
|
||||
am335x-evm.dtb \
|
||||
am335x-evmsk.dtb \
|
||||
diff --git a/arch/arm/boot/dts/am335x-bonegreen.dts b/arch/arm/boot/dts/am335x-bonegreen.dts
|
||||
new file mode 100644
|
||||
index 0000000..0f65bda
|
||||
--- /dev/null
|
||||
+++ b/arch/arm/boot/dts/am335x-bonegreen.dts
|
||||
@@ -0,0 +1,53 @@
|
||||
+/*
|
||||
+ * Copyright (C) 2012 Texas Instruments Incorporated - http://www.ti.com/
|
||||
+ *
|
||||
+ * This program is free software; you can redistribute it and/or modify
|
||||
+ * it under the terms of the GNU General Public License version 2 as
|
||||
+ * published by the Free Software Foundation.
|
||||
+ */
|
||||
+/dts-v1/;
|
||||
+
|
||||
+#include "am33xx.dtsi"
|
||||
+#include "am335x-bone-common.dtsi"
|
||||
+
|
||||
+/ {
|
||||
+ model = "TI AM335x BeagleBone Green";
|
||||
+ compatible = "ti,am335x-bone-green", "ti,am335x-bone-black", "ti,am335x-bone", "ti,am33xx";
|
||||
+};
|
||||
+
|
||||
+&ldo3_reg {
|
||||
+ regulator-min-microvolt = <1800000>;
|
||||
+ regulator-max-microvolt = <1800000>;
|
||||
+ regulator-always-on;
|
||||
+};
|
||||
+
|
||||
+&mmc1 {
|
||||
+ vmmc-supply = <&vmmcsd_fixed>;
|
||||
+};
|
||||
+
|
||||
+&mmc2 {
|
||||
+ vmmc-supply = <&vmmcsd_fixed>;
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&emmc_pins>;
|
||||
+ bus-width = <8>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&am33xx_pinmux {
|
||||
+ uart2_pins: uart2_pins {
|
||||
+ pinctrl-single,pins = <
|
||||
+ 0x150 (PIN_INPUT | MUX_MODE1) /* spi0_sclk.uart2_rxd */
|
||||
+ 0x154 (PIN_OUTPUT | MUX_MODE1) /* spi0_d0.uart2_txd */
|
||||
+ >;
|
||||
+ };
|
||||
+};
|
||||
+
|
||||
+&uart2 {
|
||||
+ pinctrl-names = "default";
|
||||
+ pinctrl-0 = <&uart2_pins>;
|
||||
+ status = "okay";
|
||||
+};
|
||||
+
|
||||
+&rtc {
|
||||
+ system-power-controller;
|
||||
+};
|
|
@ -506,6 +506,10 @@ Patch457: ARM-tegra-usb-no-reset.patch
|
|||
|
||||
Patch458: regulator-axp20x-module-alias.patch
|
||||
|
||||
Patch459: regulator-anatop-module-alias.patch
|
||||
|
||||
Patch460: ARM-dts-Add-am335x-bonegreen.patch
|
||||
|
||||
Patch463: arm-i.MX6-Utilite-device-dtb.patch
|
||||
|
||||
Patch466: input-kill-stupid-messages.patch
|
||||
|
@ -2065,6 +2069,10 @@ fi
|
|||
#
|
||||
#
|
||||
%changelog
|
||||
* Sun Oct 4 2015 Peter Robinson <pbrobinson@fedoraproject.org>
|
||||
- Add upstream patch to fix a Anatop (i.MX) regulator loading as a module
|
||||
- Add support for BeagleBone Green
|
||||
|
||||
* Fri Oct 02 2015 Josh Boyer <jwboyer@fedoraproject.org>
|
||||
- CVE-2015-7613 Unauthorized access to IPC via SysV shm (rhbz 1268270 1268273)
|
||||
|
||||
|
|
|
@ -0,0 +1,24 @@
|
|||
From d702ffd4d1df73b9c620af1654af42ff5b8d5c09 Fri Sep 18 19:09:07 2015
|
||||
From: Luis de Bethencourt <luis@debethencourt.com>
|
||||
Date: Fri Sep 18 19:09:07 2015 +0200
|
||||
|
||||
regulator: anatop: Fix module autoload for OF platform driver
|
||||
|
||||
This platform driver has a OF device ID table but the OF module
|
||||
alias information is not created so module autoloading won't work.
|
||||
|
||||
Signed-off-by: Luis de Bethencourt <luisbg@osg.samsung.com>
|
||||
Signed-off-by: Mark Brown <broonie@kernel.org>
|
||||
|
||||
diff --git a/drivers/regulator/anatop-regulator.c b/drivers/regulator/anatop-regulator.c
|
||||
index 738adfa..52ea605 100644
|
||||
--- a/drivers/regulator/anatop-regulator.c
|
||||
+++ b/drivers/regulator/anatop-regulator.c
|
||||
@@ -318,6 +318,7 @@ static const struct of_device_id of_anatop_regulator_match_tbl[] = {
|
||||
{ .compatible = "fsl,anatop-regulator", },
|
||||
{ /* end */ }
|
||||
};
|
||||
+MODULE_DEVICE_TABLE(of, of_anatop_regulator_match_tbl);
|
||||
|
||||
static struct platform_driver anatop_regulator_driver = {
|
||||
.driver = {
|
Loading…
Reference in New Issue