diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-12-01 21:56:44 +0100 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-12-01 21:56:44 +0100 |
commit | 1c8dda3e435cfadaffe1f0cc062ad3c8ffbe84a7 (patch) | |
tree | dd26d5bc619271f8cccf0c9d7abdda9a1749d13f /board/lego/ev3/patches/linux/0002-sound-device-tree-node.patch | |
parent | 57dcad243e6daefefbe21109e1fc97272053a7a0 (diff) | |
parent | 787a31fed42f98a8e2e6a0bd2079376c861436f2 (diff) | |
download | buildroot-1c8dda3e435cfadaffe1f0cc062ad3c8ffbe84a7.tar.gz buildroot-1c8dda3e435cfadaffe1f0cc062ad3c8ffbe84a7.zip |
Merge branch 'next'
This merges the next branch accumulated during the 2017.11 release
cycle back into the master branch.
A few conflicts had to be resolved:
- In the DEVELOPERS file, because Fabrice Fontaine was added as a
developer for libupnp in master, and for libupnp18 in
next. Resolution is simple: add him for both.
- linux/Config.in, because we updated the 4.13.x release used by
default in master, while we moved to 4.14 in next. Resolution: use
4.14.
- package/libupnp/libupnp.hash: a hash for the license file was added
in master, while the package was bumped into next. Resolution: keep
the hash for the license file, and keep the hash for the newest
version of libupnp.
- package/linux-headers/Config.in.host: default version of the kernel
headers for 4.13 was bumped to the latest 4.13.x in master, but was
changed to 4.14 in next. Resolution: use 4.14.
- package/samba4/: samba was bumped to 4.6.11 in master for security
reasons, but was bumped to 4.7.3 in next. Resolution: keep 4.7.3.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'board/lego/ev3/patches/linux/0002-sound-device-tree-node.patch')
-rw-r--r-- | board/lego/ev3/patches/linux/0002-sound-device-tree-node.patch | 85 |
1 files changed, 0 insertions, 85 deletions
diff --git a/board/lego/ev3/patches/linux/0002-sound-device-tree-node.patch b/board/lego/ev3/patches/linux/0002-sound-device-tree-node.patch deleted file mode 100644 index a095222c2f..0000000000 --- a/board/lego/ev3/patches/linux/0002-sound-device-tree-node.patch +++ /dev/null @@ -1,85 +0,0 @@ -From 7723d70bebd749ef24fef19db52d827c7fd7f858 Mon Sep 17 00:00:00 2001 -From: David Lechner <david@lechnology.com> -Date: Tue, 7 Feb 2017 13:22:09 -0600 -Subject: ARM: da850-lego-ev3: Add device tree node for sound - -This adds a device tree node for sound on LEGO MINDSTORMS EV3. The EV3 -uses one of the SoC PWMs connected to an amplifier to create sound from -a speaker. - -The PWM is passed through a low-pass filter, so it is actually possible -to do PCM playback, but there is no existing driver, so just using -pwm-beeper for now, since it is also a compatible mode of operation. - -Signed-off-by: David Lechner <david@lechnology.com> -Signed-off-by: Sekhar Nori <nsekhar@ti.com> ---- - arch/arm/boot/dts/da850-lego-ev3.dts | 31 +++++++++++++++++++++++++++++++ - 1 file changed, 31 insertions(+) - -diff --git a/arch/arm/boot/dts/da850-lego-ev3.dts b/arch/arm/boot/dts/da850-lego-ev3.dts -index 0309537..c20580a 100644 ---- a/arch/arm/boot/dts/da850-lego-ev3.dts -+++ b/arch/arm/boot/dts/da850-lego-ev3.dts -@@ -123,6 +123,14 @@ - pinctrl-0 = <&system_power_pin>; - }; - -+ sound { -+ compatible = "pwm-beeper"; -+ pinctrl-names = "default"; -+ pinctrl-0 = <&ehrpwm0b_pins>; -+ pwms = <&ehrpwm0 1 1000000 0>; -+ amp-supply = <&>; -+ }; -+ - /* - * This is a 5V current limiting regulator that is shared by USB, - * the sensor (input) ports, the motor (output) ports and the A/DC. -@@ -152,6 +160,18 @@ - regulator-boot-on; - vin-supply = <&vcc5v>; - }; -+ -+ /* -+ * This is the amplifier for the speaker. -+ */ -+ amp: regulator3 { -+ pinctrl-names = "default"; -+ pinctrl-0 = <&_pins>; -+ compatible = "regulator-fixed"; -+ regulator-name = "amp"; -+ gpio = <&gpio 111 GPIO_ACTIVE_HIGH>; -+ enable-active-high; -+ }; - }; - - &pmx_core { -@@ -208,6 +228,13 @@ - 0x4c 0x00008000 0x0000f000 - >; - }; -+ -+ amp_pins: pinmux_amp_pins { -+ pinctrl-single,bits = < -+ /* GP6[15] */ -+ 0x34 0x00000008 0x0000000f -+ >; -+ }; - }; - - &pinconf { -@@ -316,6 +343,10 @@ - }; - }; - -+&ehrpwm0 { -+ status = "okay"; -+}; -+ - &gpio { - status = "okay"; - }; --- -cgit v1.1 - |