From patchwork Mon Jan 30 12:38:21 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Marek Szyprowski X-Patchwork-Id: 92850 Delivered-To: patch@linaro.org Received: by 10.140.20.99 with SMTP id 90csp1412691qgi; Mon, 30 Jan 2017 04:40:03 -0800 (PST) X-Received: by 10.84.135.34 with SMTP id 31mr31134145pli.50.1485780002975; Mon, 30 Jan 2017 04:40:02 -0800 (PST) Return-Path: Received: from bombadil.infradead.org (bombadil.infradead.org. [65.50.211.133]) by mx.google.com with ESMTPS id 3si8418614pge.155.2017.01.30.04.40.02 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 30 Jan 2017 04:40:02 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) client-ip=65.50.211.133; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org designates 65.50.211.133 as permitted sender) smtp.mailfrom=linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1cYBFY-0004wq-LZ; Mon, 30 Jan 2017 12:40:00 +0000 Received: from mailout4.w1.samsung.com ([210.118.77.14]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cYBEd-0004aa-Km for linux-arm-kernel@lists.infradead.org; Mon, 30 Jan 2017 12:39:06 +0000 Received: from eucas1p2.samsung.com (unknown [182.198.249.207]) by mailout4.w1.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTP id <0OKL00567F4EID60@mailout4.w1.samsung.com> for linux-arm-kernel@lists.infradead.org; Mon, 30 Jan 2017 12:38:38 +0000 (GMT) Received: from eusmges4.samsung.com (unknown [203.254.199.244]) by eucas1p2.samsung.com (KnoxPortal) with ESMTP id 20170130123837eucas1p23332db11cf5a7ac6ae40289d74cecdee~ejPahWoxS1822018220eucas1p2F; Mon, 30 Jan 2017 12:38:37 +0000 (GMT) Received: from eucas1p2.samsung.com ( [182.198.249.207]) by eusmges4.samsung.com (EUCPMTA) with SMTP id 36.A2.28517.DC33F885; Mon, 30 Jan 2017 12:38:37 +0000 (GMT) Received: from eusmgms1.samsung.com (unknown [182.198.249.179]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20170130123837eucas1p13c607f81a1775a805740dccc87fe8b87~ejPZusBI60491704917eucas1p1I; Mon, 30 Jan 2017 12:38:37 +0000 (GMT) X-AuditID: cbfec7f4-f79716d000006f65-7f-588f33cda0d0 Received: from eusync3.samsung.com ( [203.254.199.213]) by eusmgms1.samsung.com (EUCPMTA) with SMTP id DC.C6.06687.0143F885; Mon, 30 Jan 2017 12:39:44 +0000 (GMT) Received: from AMDC2765.digital.local ([106.116.147.25]) by eusync3.samsung.com (Oracle Communications Messaging Server 7.0.5.31.0 64bit (built May 5 2014)) with ESMTPA id <0OKL0038AF49F510@eusync3.samsung.com>; Mon, 30 Jan 2017 12:38:37 +0000 (GMT) From: Marek Szyprowski To: linux-gpio@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v3 0/7] Pad retentions support for Exynos5433 Date: Mon, 30 Jan 2017 13:38:21 +0100 Message-id: <1485779908-32147-1-git-send-email-m.szyprowski@samsung.com> X-Mailer: git-send-email 1.9.1 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrCIsWRmVeSWpSXmKPExsWy7djP87pnjfsjDF5t0bbYOGM9q8X58xvY Le5/PcpoMeXPciaLTY+vsVpsnv+H0eLyrjlsFjPO72OyWHvkLrvF4TftrBardv1hdOD22Dnr LrvHplWdbB53ru1h89i8pN6jb8sqRo/Pm+QC2KK4bFJScz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EBsNgFDia63XWBFIgLt jBKvb19jAnGYBbYwSXRtugg2SljAVqJn42kWEJtFQFVix8UjYHFeAQ+JZ+9/MEGsk5M4eWwy 6wRG7gWMDKsYRVJLi3PTc4sN9YoTc4tL89L1kvNzNzECg3nbsZ+bdzBe2hh8iFGAg1GJh/eG cF+EEGtiWXFl7iFGCQ5mJRHek6r9EUK8KYmVValF+fFFpTmpxYcYTYGWT2SWEk3OB0ZaXkm8 oYmhuaWhkbGFhbmRkZI4b8mHK+FCAumJJanZqakFqUUwfUwcnFINjG5XLwWzbpiVJS5k1MDg k2u2/Gug7bYZ8nwXwrkl+CS43vientV47nzPjUk2PPItXLmrPKIUtD4Vi03WYgx+8sktp1WJ u1IlmddoYZRURaZngNzegNakg/7c85i+zrDRYWoT8f6z25X9iYbemeu7wxym5N7mEE6qz5yw 8pJGj8SDekZ35QYlluKMREMt5qLiRAA6nAysfAIAAA== X-MTR: 20000000000000000@CPGS X-CMS-MailID: 20170130123837eucas1p13c607f81a1775a805740dccc87fe8b87 X-Msg-Generator: CA X-Sender-IP: 182.198.249.179 X-Local-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1B?= =?utf-8?b?7IK87ISx7KCE7J6QG1NlbmlvciBTb2Z0d2FyZSBFbmdpbmVlcg==?= X-Global-Sender: =?utf-8?q?Marek_Szyprowski=1BSRPOL-Kernel_=28TP=29=1BSam?= =?utf-8?q?sung_Electronics=1BSenior_Software_Engineer?= X-Sender-Code: =?utf-8?q?C10=1BEHQ=1BC10CD02CD027392?= CMS-TYPE: 201P X-HopCount: 7 X-CMS-RootMailID: 20170130123837eucas1p13c607f81a1775a805740dccc87fe8b87 X-RootMTR: 20170130123837eucas1p13c607f81a1775a805740dccc87fe8b87 References: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170130_043903_833334_1405EC05 X-CRM114-Status: GOOD ( 13.61 ) X-Spam-Score: -10.1 (----------) X-Spam-Report: SpamAssassin version 3.4.1 on bombadil.infradead.org summary: Content analysis details: (-10.1 points) pts rule name description ---- ---------------------- -------------------------------------------------- -5.0 RCVD_IN_DNSWL_HI RBL: Sender listed at http://www.dnswl.org/, high trust [210.118.77.14 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [210.118.77.14 listed in wl.mailspike.net] -3.2 RP_MATCHES_RCVD Envelope sender domain matches handover relay domain -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Bartlomiej Zolnierkiewicz , Linus Walleij , Tomasz Figa , Krzysztof Kozlowski , Sylwester Nawrocki , Lee Jones , Marek Szyprowski MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org Hello, This patchset is a first step to add support for all power domains on Exynos5433 SoCs. This patchset contains patches for Exynos pin control driver and Exynos LPASS MFD driver, which are needed to make the platform ready for adding power domains support. Patches in this patchset depends on each other. They are order in such a way to make the changes bisectable. Patch #2 has compile dependency on #1. Patch #3 has runtime dependency on commit fa59aa70907b2 ("soc: samsung: pmu: Add dummy support for Exynos5433 SoC", for-v4.11/drivers-soc-exynos-pmu-the-joy-never-ends branch). Patch #4 has runtime dependency on #3. Patch #5 has runtime dependency on commit 7547162ac3514 ("arm64: dts: exynos: Add clocks to Exynos5433 LPASS module, next/dt64 branch). This patchset also directly depends on the "Move pad retention control to Exynos pin controller driver" patchset: https://www.spinics.net/lists/arm-kernel/msg556074.html Patches have been generated on top of linux-next from 30th January 2017 with the above mentioned patchset applied. This is a part of a larger task, which goal is to add support for power domains on Exynos5433 SoCs / TM2 boards. First version of the all patches needed to get it working have been pushed to the following git repo: https://git.linaro.org/people/marek.szyprowski/linux-srpol.git v4.10-next-tm2-pd Best regards Marek Szyprowski Samsung R&D Institute Poland Changelog: v3: - moved adding new PMU register defines to separate patch (requested by Krzysztof Kozlowski) - rebased onto Linux next-20170130 (removed "soc: samsung: pmu: Add dummy support for Exynos5433 SoC" and "arm64: dts: exynos: Add clocks to Exynos5433 LPASS module" patches, which are already merged) v2: - fixed issues pointed by Krzysztof Kozlowski: 1. added more checks to Exynos PMU driver for NULL drvdata 2. reused EXYNOS_WAKEUP_FROM_LOWPWR in retention data for Exynos5433 3. converted lpass driver to devm_clk_get 4. added missing ->remove callback to lpass driver v1: https://lkml.org/lkml/2017/1/25/214 - initial version Patch summary: Marek Szyprowski (7): soc: smasung: pmu: Add register defines for pad retention control pinctrl: samsung: Ensure that pad retention is disabled on driver init pinctrl: samsung: Add support for pad retention control for Exynos5433 SoCs mfd: exynos-lpass: Remove pad retention control mfd: exynos-lpass: Add support for clocks mfd: exynos-lpass: Add missing remove() function mfd: exynos-lpass: Add runtime PM support .../bindings/mfd/samsung,exynos5433-lpass.txt | 8 ++- drivers/mfd/exynos-lpass.c | 48 ++++++++++------- drivers/pinctrl/samsung/pinctrl-exynos.c | 63 ++++++++++++++++++++++ include/linux/mfd/syscon/exynos5-pmu.h | 3 -- include/linux/soc/samsung/exynos-regs-pmu.h | 16 ++++++ 5 files changed, 115 insertions(+), 23 deletions(-) -- 1.9.1 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel