Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932544AbbHXIEJ (ORCPT ); Mon, 24 Aug 2015 04:04:09 -0400 Received: from mailout1.samsung.com ([203.254.224.24]:58152 "EHLO mailout1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752238AbbHXIEF (ORCPT ); Mon, 24 Aug 2015 04:04:05 -0400 X-AuditID: cbfee690-f796f6d000005054-8a-55dacfe15c06 From: Pankaj Dubey To: linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Cc: k.kozlowski@samsung.com, kgene@kernel.org, heiko@sntech.de, thomas.ab@samsung.com, Pankaj Dubey Subject: [PATCH v2 0/7] Add support for Exynos SROM Controller driver Date: Mon, 24 Aug 2015 13:32:21 +0530 Message-id: <1440403348-8974-1-git-send-email-pankaj.dubey@samsung.com> X-Mailer: git-send-email 2.4.5 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFjrKLMWRmVeSWpSXmKPExsWyRsSkVvfh+VuhBmfmclv8f/Sa1eL1C0OL /sevmS02Pb7GanF51xw2ixnn9zFZLNr6hd2iYxmjA4fHplWdbB6bl9R79G1Zxeix/do8Zo/P m+QCWKO4bFJSczLLUov07RK4Mi6fn8ha0CtS0fL+I1sD4xm+LkZODgkBE4kp7Y9YIWwxiQv3 1rN1MXJxCAmsYJT4Nn0XG0zR785JrBCJWYwS+1adg3JamSTu/NzNDFLFJqAr8eT9XDBbRCBb 4krjfWaQImaBBkaJZSvvgI0SFnCVWLf2JlCCg4NFQFWifQ03SJhXwF1izuHVjCBhCQE5iaXN tSCtEgLd7BKr138HO49FQEDi2+RDLBA1shKbDjBDHCcpcXDFDZYJjIILGBlWMYqmFiQXFCel F5noFSfmFpfmpesl5+duYgSG7ul/zybsYLx3wPoQowAHoxIP7wqzW6FCrIllxZW5hxhNgTZM ZJYSTc4HRkheSbyhsZmRhamJqbGRuaWZkjjva6mfwUIC6YklqdmpqQ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4EQCn0Bs2pQIAAA== DLP-Filter: Pass X-MTR: 20000000000000000@CPGS X-CFilter-Loop: Reflected Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 2764 Lines: 59 This patch set adds support for Exynos SROM controller DT based driver. Currently SROM register sets are used only during S2R, so driver basically added for taking care of S2R. It will help us in removing static mapping from exynos.c and other extra code handline during S2R. This patch set also updated exynos4 and exynos5 dtsi files for with device node for srom, and added binding documentation for the same. First two patches are some minor cleanup in mach-exynos. Patchset v1 was posted here[1] [1]: https://lkml.org/lkml/2015/4/29/98 Changes since v1: - Rebased to latest kgene tree. - Addressed review comments from Krzysztof Kozlowski. - Add two new patches for minor cleanup in exynos.c and map.h Pankaj Dubey (7): ARM: EXYNOS: remove unused static mapping of CMU for exynos5 ARM: EXYNOS: code cleanup in map.h drivers: soc: add support for exynos SROM driver ARM: EXYNOS: Remove SROM related register settings from mach-exynos ARM: dts: add SROM device node for exynos4 ARM: dts: add SROM device node for exynos5 Documentation: dt-bindings: add exynos-srom binding information .../bindings/arm/samsung/exynos-srom.txt | 12 ++ arch/arm/boot/dts/exynos4.dtsi | 5 + arch/arm/boot/dts/exynos5.dtsi | 5 + arch/arm/mach-exynos/Kconfig | 2 + arch/arm/mach-exynos/common.h | 2 - arch/arm/mach-exynos/exynos.c | 22 ---- arch/arm/mach-exynos/include/mach/map.h | 8 -- arch/arm/mach-exynos/regs-srom.h | 53 -------- arch/arm/mach-exynos/suspend.c | 20 +-- arch/arm/plat-samsung/include/plat/map-s5p.h | 1 - drivers/soc/Kconfig | 1 + drivers/soc/Makefile | 1 + drivers/soc/samsung/Kconfig | 13 ++ drivers/soc/samsung/Makefile | 1 + drivers/soc/samsung/exynos-srom.c | 143 +++++++++++++++++++++ drivers/soc/samsung/exynos-srom.h | 51 ++++++++ 16 files changed, 236 insertions(+), 104 deletions(-) create mode 100644 Documentation/devicetree/bindings/arm/samsung/exynos-srom.txt delete mode 100644 arch/arm/mach-exynos/regs-srom.h create mode 100644 drivers/soc/samsung/Kconfig create mode 100644 drivers/soc/samsung/Makefile create mode 100644 drivers/soc/samsung/exynos-srom.c create mode 100644 drivers/soc/samsung/exynos-srom.h -- 2.4.5 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/