Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp4935731imu; Tue, 29 Jan 2019 09:57:50 -0800 (PST) X-Google-Smtp-Source: ALg8bN567qbqg11iSde1QKhi2Aq/KqBVrxX03ioyEGbsPUjqGfuwb9npZkhVS9cftk5RwpJAwS7l X-Received: by 2002:a17:902:f082:: with SMTP id go2mr26999801plb.115.1548784670045; Tue, 29 Jan 2019 09:57:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548784670; cv=none; d=google.com; s=arc-20160816; b=HdFDvlBswf/IcsoaCED9ZJqK6dYKE7gKFuuXFXp7R+9v2E8JdXfIcvD/2NpzBoR1Me TkFSqFS6GQGZ0XkcWkvD2ubkq0i3b1zvAYEKAXBgAyPc8kSmWMOBam/oAYybik9lePIt Vlx4BX7coWpgYIKLuWRntoKsMIfexOri/l69HD74A67BNU9CzZsWE4pRNc1ZXq30daaQ 6gTOB16l2x3b0TyyI0U4UKTdS9gijZr2jFvfp6NUHPCgL3IVl0BfqbsYuAQSzASnt6iO NkIfaFt1fPM+1b+lXvy4vncVHENZzXcQbnGgCmA27DdBPDjIUI6VTT3XBK2Hfj27a6fd NfVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:cms-type:message-id:date :subject:cc:to:from:dkim-signature:dkim-filter; bh=FItSYnLXOOv6DzxYJ/ACdcxYgPxIwhriECrh/Qd+Wfk=; b=O93NyHwc8Vc+umSFy9VAW+bQL6/mZ3dlcOoYG5Yqaem3UkVQOKC8vPuxXuJBxGOT+a WA0f0PmOAccLXUQklOJYs7nCEB4Pjm7MsXdPtmFDg4YuC6TQRc9mzRHa7KkSk9XNiC6c ZE5yb8C0iXHGvjI2w6mQJ4/uwzwrNdTPD6iWEHJimtXV1bzm+8kvs5mSVbNHIF8OL/65 KNWuaEP+ILlHzuCB1DLztj3jJFQ36CZkDZCoQdq0ZzIwI6SSJ+rtG07rvO/KMmQfIyzI t5PXYULd8mbz+KYU6uAYS49GKcvE04IaZHPg27X/wfOMy46D2C18LWXi2QSUDhwYqU4a wfqw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=QsznMGgF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k6si38840305pgr.500.2019.01.29.09.57.34; Tue, 29 Jan 2019 09:57:50 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=QsznMGgF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728673AbfA2Rz3 (ORCPT + 99 others); Tue, 29 Jan 2019 12:55:29 -0500 Received: from mailout1.w1.samsung.com ([210.118.77.11]:45647 "EHLO mailout1.w1.samsung.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727498AbfA2Rz0 (ORCPT ); Tue, 29 Jan 2019 12:55:26 -0500 Received: from eucas1p1.samsung.com (unknown [182.198.249.206]) by mailout1.w1.samsung.com (KnoxPortal) with ESMTP id 20190129175524euoutp01d25c07c83ac164b28f3c0b75cb0c4908~_Y1Gxpt4-0755407554euoutp01N for ; Tue, 29 Jan 2019 17:55:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.w1.samsung.com 20190129175524euoutp01d25c07c83ac164b28f3c0b75cb0c4908~_Y1Gxpt4-0755407554euoutp01N DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1548784524; bh=FItSYnLXOOv6DzxYJ/ACdcxYgPxIwhriECrh/Qd+Wfk=; h=From:To:Cc:Subject:Date:References:From; b=QsznMGgFKmL/n0Hb73laG0ZtLNX7TYeMJuOrrmH3aZV5V/igu3fXwz9i7odBTlJrv KEp/iVWNZ1jr2YAGRU+PcIMnkY1xxeqf5/187LSLTsXrE+GyaKingu3tt42A9ku7V8 mQxO9GjHSV8+vRIb/L2kAXS5REYdQIO8XNcMg+Wc= Received: from eusmges3new.samsung.com (unknown [203.254.199.245]) by eucas1p1.samsung.com (KnoxPortal) with ESMTP id 20190129175523eucas1p16dbcb9dd79bef22b8fd64e997813d266~_Y1GDdMWC2431324313eucas1p1P; Tue, 29 Jan 2019 17:55:23 +0000 (GMT) Received: from eucas1p1.samsung.com ( [182.198.249.206]) by eusmges3new.samsung.com (EUCPMTA) with SMTP id C7.44.04806.B83905C5; Tue, 29 Jan 2019 17:55:23 +0000 (GMT) Received: from eusmtrp2.samsung.com (unknown [182.198.249.139]) by eucas1p1.samsung.com (KnoxPortal) with ESMTPA id 20190129175522eucas1p121e453739de195625b1f4b04a0b4f298~_Y1FQe_QD0145001450eucas1p1C; Tue, 29 Jan 2019 17:55:22 +0000 (GMT) Received: from eusmgms2.samsung.com (unknown [182.198.249.180]) by eusmtrp2.samsung.com (KnoxPortal) with ESMTP id 20190129175522eusmtrp279cdc3c9d187bcbe78e5160ee0646103~_Y1FBtAuJ0424104241eusmtrp2T; Tue, 29 Jan 2019 17:55:22 +0000 (GMT) X-AuditID: cbfec7f5-79db79c0000012c6-21-5c50938b5a66 Received: from eusmtip1.samsung.com ( [203.254.199.221]) by eusmgms2.samsung.com (EUCPMTA) with SMTP id C4.EE.04128.A83905C5; Tue, 29 Jan 2019 17:55:22 +0000 (GMT) Received: from AMDC3778.DIGITAL.local (unknown [106.120.51.20]) by eusmtip1.samsung.com (KnoxPortal) with ESMTPA id 20190129175521eusmtip162f08e9b3f1f7d3eeb25c40638f59c30~_Y1EbfRyx2140821408eusmtip1v; Tue, 29 Jan 2019 17:55:21 +0000 (GMT) From: Lukasz Luba To: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-pm@vger.kernel.org, linux-samsung-soc@vger.kernel.org Cc: b.zolnierkie@samsung.com, krzk@kernel.org, kgene@kernel.org, cw00.choi@samsung.com, kyungmin.park@samsung.com, m.szyprowski@samsung.com, s.nawrocki@samsung.com, myungjoo.ham@samsung.com, Lukasz Luba Subject: [PATCH v2 0/8] Exynos5 Dynamic Memory Controller driver Date: Tue, 29 Jan 2019 18:55:06 +0100 Message-Id: <1548784514-26649-1-git-send-email-l.luba@partner.samsung.com> X-Mailer: git-send-email 2.7.4 X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFmpmleLIzCtJLcpLzFFi42LZduznOd3uyQExBi92CVhsnLGe1eL6l+es FvOPnGO16H/8mtni/PkN7BZnm96wW9xqkLG4vGsOm8Xn3iOMFjPO72OyWHvkLrvF7cYVbBaH 37SzOvB6bFrVyeZx8N0eJo++LasYPT5vkgtgieKySUnNySxLLdK3S+DKOD3LsOCOUMX+/jPM DYwdfF2MnBwSAiYSa2/uZOli5OIQEljBKLF9yxxGCOcLo8TFtU+ZIZzPjBK3Xp9mhGlpfvqG DcQWEljOKLFhVTBcx9Kv54E6ODjYBPQkdqwqBKkREaiWuHN9P9ggZoG3jBIzb35hAUkICzhI LH9zDGwoi4CqxM59P8BsXgEvibPN/VDL5CRunutkhrC/s0k8PC4CYbtI7D3WzgRhC0u8Or6F HcKWkfi/cz5UvFjibMcqNgi7RqL95A6oGmuJw8cvsoLcySygKbF+lz5E2FFiwcdp7CBhCQE+ iRtvBUHCzEDmpG3TmSHCvBIdbUIQ1RoSW3ouQC0Sk1i+ZhrUcA+JedufsUNCJ1bi9OGjLBMY 5WYh7FrAyLiKUTy1tDg3PbXYOC+1XK84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oh IWjedvLUxNlfq5cunFQZt1zVKfiLyp5VBoxspycyvt70fYbuQwM2lXW7mq0cvc3dVq8NmTdX x+aGpFC46OU7vkosxRmJhlrMRcWJAAjIjwdvAgAA X-CMS-MailID: 20190129175522eucas1p121e453739de195625b1f4b04a0b4f298 X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-RootMTR: 20190129175522eucas1p121e453739de195625b1f4b04a0b4f298 X-EPHeader: CA CMS-TYPE: 201P X-CMS-RootMailID: 20190129175522eucas1p121e453739de195625b1f4b04a0b4f298 References: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This is v2 of the patch set which adds support of Dynamic Memory Controller for Exynos5422 SoC. The driver supports Dynamic Voltage and Frequency Scalling for the DMC and DRAM. It also provides needed timings for different speed operations of the DRAM memory. The patch set is based on tag: v5.0-rc4 changes: v1->v2: - changed file name exynos5-dmc.c -> exynos5422-dmc.c and related entries in other files - changed dt-binding file name - changed config entry to CONFIG_ARM_EXYNOS5422_DMC_DEVFREQ - removed sysfs and print info messages (print only one line) - removed function exynos5_read_chip_info and compact code - changed dt-binding patch and move it up in the patch set - new entries in MAINTAINERS are added with the driver c code - clean-up in DTS file: renamed nodes to 'ppmu' and 'memory-controller', entries moved to suggested location (before nocp nodes or after), moved according to alfabetical order, compacted clocks names with right indent. Regards, Lukasz Luba Lukasz Luba (8): clk: samsung: add needed IDs for DMC clocks in Exynos5420 clk: samsung: add new clocks for DMC for Exynos5422 SoC clk: samsung: add BPLL rate table for Exynos 5422 SoC drivers: devfreq: add DMC driver for Exynos5422 dt-bindings: devfreq: add Exynos5422 DMC device description DT: arm: exynos: add DMC device for exynos5422 drivers: devfreq: events: add Exynos PPMU new events ARM: exynos_defconfig: enable DMC driver .../devicetree/bindings/devfreq/exynos5422-dmc.txt | 106 ++ MAINTAINERS | 8 + arch/arm/boot/dts/exynos5420.dtsi | 69 ++ arch/arm/boot/dts/exynos5422-odroid-core.dtsi | 22 + arch/arm/configs/exynos_defconfig | 1 + drivers/clk/samsung/clk-exynos5420.c | 63 +- drivers/devfreq/Kconfig | 13 + drivers/devfreq/Makefile | 1 + drivers/devfreq/event/exynos-ppmu.c | 6 + drivers/devfreq/exynos5422-dmc.c | 1274 ++++++++++++++++++++ include/dt-bindings/clock/exynos5420.h | 18 +- 11 files changed, 1575 insertions(+), 6 deletions(-) create mode 100644 Documentation/devicetree/bindings/devfreq/exynos5422-dmc.txt create mode 100644 drivers/devfreq/exynos5422-dmc.c -- 2.7.4