From 64175ffb7911f5fcd3907df09fdb9bfab53ee641 Mon Sep 17 00:00:00 2001 From: John Crispin Date: Fri, 7 Apr 2017 17:42:08 +0200 Subject: mediatek: various fixes for v4.9 * adds MT7530 DSA support * backport latest ethernet driver * add PMIC leds * add auxadc support * add efuse support * add thermal sensor support * add irq affinity support for ethernet still todo * DSA multi cpu support Signed-off-by: John Crispin --- .../linux/mediatek/patches-4.9/0083-mfd-led3.patch | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 target/linux/mediatek/patches-4.9/0083-mfd-led3.patch (limited to 'target/linux/mediatek/patches-4.9/0083-mfd-led3.patch') diff --git a/target/linux/mediatek/patches-4.9/0083-mfd-led3.patch b/target/linux/mediatek/patches-4.9/0083-mfd-led3.patch new file mode 100644 index 0000000000..a72da69e00 --- /dev/null +++ b/target/linux/mediatek/patches-4.9/0083-mfd-led3.patch @@ -0,0 +1,43 @@ +From patchwork Fri Feb 24 18:47:21 2017 +Content-Type: text/plain; charset="utf-8" +MIME-Version: 1.0 +Content-Transfer-Encoding: 7bit +Subject: [v4,4/4] mfd: mt6397: Add MT6323 LED support into MT6397 driver +From: sean.wang@mediatek.com +X-Patchwork-Id: 9591021 +Message-Id: <1487962041-6548-5-git-send-email-sean.wang@mediatek.com> +To: , , , + , , , + +Cc: devicetree@vger.kernel.org, keyhaede@gmail.com, + Sean Wang , linux-kernel@vger.kernel.org, + linux-mediatek@lists.infradead.org, linux-leds@vger.kernel.org, + linux-arm-kernel@lists.infradead.org +Date: Sat, 25 Feb 2017 02:47:21 +0800 + +From: Sean Wang + +Add compatible string as "mt6323-led" that will make +the OF core spawn child devices for the LED subnode +of that MT6323 MFD device. + +Signed-off-by: Sean Wang +--- + drivers/mfd/mt6397-core.c | 4 ++++ + 1 file changed, 4 insertions(+) + +diff --git a/drivers/mfd/mt6397-core.c b/drivers/mfd/mt6397-core.c +index e14d8b0..8e601c8 100644 +--- a/drivers/mfd/mt6397-core.c ++++ b/drivers/mfd/mt6397-core.c +@@ -48,6 +48,10 @@ + .name = "mt6323-regulator", + .of_compatible = "mediatek,mt6323-regulator" + }, ++ { ++ .name = "mt6323-led", ++ .of_compatible = "mediatek,mt6323-led" ++ }, + }; + + static const struct mfd_cell mt6397_devs[] = { -- cgit v1.2.3