Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp3669233ybi; Mon, 29 Jul 2019 10:27:04 -0700 (PDT) X-Google-Smtp-Source: APXvYqzYjra55adVXjK+E6FtTIDqIcJMkZjuS74aATvbV/HCbnWzygOQs29M4v1AnjU+1Vw+uzdA X-Received: by 2002:a17:902:a714:: with SMTP id w20mr111466734plq.127.1564421224157; Mon, 29 Jul 2019 10:27:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564421224; cv=none; d=google.com; s=arc-20160816; b=l8YGDkLm3efc9Q4hw7Fci4zYmn9jGF6TMuAST1pgYfKyvXkYVCtxgrvLYeDmb2svIj O18AQYLln+z2aJB4Wu2VNHkNMYLSqVd2oAimXw+DXm5dym80AWEr0vFd7ozligVUSczi 8KqTUrFDixupFXNN7roMc077hLsNinuBRmeXiw5r1RnNqoZEot6aEaSVi+xXaM88zQC9 BM9+Mkq9qYDOyOpznuGEL7osDzRw04kzFAEAFUzPVBALLC/1qWeYDKYl47L9TlJ3BKCl vGCHMp9zCuSSTpl3YoWoI8ysb23q9Ir8U+IEpMDHaryLiVj9fpXF8GdB/c68Ipy9sZFH BHeQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=OzloBHJZuIw/rxZFXtUAvelUg2L2IphfsMYx8JfRiGs=; b=TMHqcXLmfwZRvmsZ89sgz0nHxg5SmC6FVHJFcCTkqlaRQKe4cJt1Tih3Bz4cl/+i1E m7F4FX24YrGNVvVYW3S486BD4HC3iVd6BPSqyCR+2HdAAv6qiz4Z4IficYMoKRgXluJh loIODqu9Wej/AXIXR2Ty1TfN8en4wR31+b9a4ZijK0LaRPBbZ7lFOFek6/raH7SErD3T u0Pvyyt6LbKMnckM7bg5/rkzRPLHyzAP9jqiHAiCXPC2UIXPg9x1HpstsEjPai/DTuF5 /50ZR80tay7EO4bnsl2xre/zgRqeqfye+n1ZN/9UekLKgcVH/XACP6GPTOkCfwyO8v/S rjlQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Yp48pnG6; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v16si27713098pfi.142.2019.07.29.10.26.48; Mon, 29 Jul 2019 10:27:04 -0700 (PDT) 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=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=Yp48pnG6; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387601AbfG2N02 (ORCPT + 99 others); Mon, 29 Jul 2019 09:26:28 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:40424 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726716AbfG2N00 (ORCPT ); Mon, 29 Jul 2019 09:26:26 -0400 Received: by mail-wm1-f68.google.com with SMTP id v19so53503491wmj.5 for ; Mon, 29 Jul 2019 06:26:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OzloBHJZuIw/rxZFXtUAvelUg2L2IphfsMYx8JfRiGs=; b=Yp48pnG6fLGjrzkQjxWywxptMpGR+SIbHD7lBVj9BJ2cmB0oJBlDrhIZrN98xs7JBz btGMu+SdxAUm1kU5UZgWbkV644sufNPOEoU3qAxmfG+LMxlPpUnioTft700DqokcTQQJ 8gyLo/wTnrtE759eVP94DNrsB8p8AawKdVU1K9mKBy6cg8ROQZMxCzIK2OY+6rnEMB2s QCzx/MdnRK3jz0aHLM8W0avWscPCKqUJ9fbhCzh0nHRQ2fdRLQML+wPJis2mmy4xeeXz +aJ9SYuGFxqP8/8P1BJl1VnKlUU0MW0G9s5sW+PUXfAm383AHTu5ki5bZrl8eZ7RJnUW P/cw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=OzloBHJZuIw/rxZFXtUAvelUg2L2IphfsMYx8JfRiGs=; b=HyDEhDXBS43ycMoWPtJ3nEpxwvr6tym5CIKc+FEI9ag4Damh8SmqgIG3avtRSYR2kt iqfSrINzVC2pfXsSyaghSD7C/T/3qsT4xsHNt2Wa+W9ACSlsy+Thz0Pf6uydfCAftkLV i3D7Ju59FjN44Gkvy/ibfXqlfccAd4g9uLSj2DwV0G3qgU+vl10iHg+rqIPqDJQTACWr 31kVJ5lylaA+3kPVeX7g1CP/GuVmbnzpjnHWxyR0p4K7BC2Pz04Fz+xmUEmDf6O11+5b s6Vvg02arCTGpYgfjLAqDUb+FlY7I8guNIqwJaGkQP421WS7DXG2OTPctPQkt4PzVKzQ wcvw== X-Gm-Message-State: APjAAAU0J+Dns4Xsb9tQ4towSMt7zPZ0ymXkBC4mQCBiftUNMFIwTsND L57RyQ867Ftfl6UTwQ42n24XGA== X-Received: by 2002:a1c:5f55:: with SMTP id t82mr98187475wmb.111.1564406784382; Mon, 29 Jul 2019 06:26:24 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id y2sm50270053wrl.4.2019.07.29.06.26.23 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 29 Jul 2019 06:26:23 -0700 (PDT) From: Neil Armstrong To: khilman@baylibre.com Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] arm64: g12a: add support for DVFS Date: Mon, 29 Jul 2019 15:26:16 +0200 Message-Id: <20190729132622.7566-1-narmstrong@baylibre.com> X-Mailer: git-send-email 2.22.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The G12A & G12B SoCs has kernel controllable CPU clocks and PWMs for voltage regulators. This patchsets moves the meson-g12a.dtsi to meson-g12-common.dtsi to simplify handling the G12A & G12B differences in the meson-g12a.dtsi & meson-g12b.dtsi files, like the OPPs and CPU nodes. Then G12A & G12B OPP tables are added, followed by the CPU voltages regulators in each boards DT. It was voluntary chosen to enabled DVFS (CPU regulator and CPU clocks) only in boards, to make sure only tested boards has DVFS enabled. This patchset : - moves the G12A DT to a common g12a-common dtsi - adds the G12A and G12B OPPs - enables DVFS on all supported boards Dependencies: - None Changes since RFT/RFC v3 at [3]: - Rebased on v5.3/fixes branch to take in order the last g12a.dtsi changes. - added Martin's review tags Changes since RFT/RFC v2 at [2]: - Rebased on linux-amlogic v5.3/dt64 Changes since RFT/RFC v1 at [1]: - Fixed G12B dtsi by adding back the sdio quirk - Fixed G12A dtsi unwanted sdio quirk removal [1] https://patchwork.kernel.org/cover/11006929/ [2] https://patchwork.kernel.org/cover/11017273/ [3] https://patchwork.kernel.org/cover/11025309/ Neil Armstrong (6): arm64: dts: move common G12A & G12B modes to meson-g12-common.dtsi arm64: dts: meson-g12-common: add pwm_a on GPIOE_2 pinmux arm64: dts: meson-g12a: add cpus OPP table arm64: dts: meson-g12a: enable DVFS on G12A boards arm64: dts: meson-g12b: add cpus OPP tables arm64: dts: meson-g12b-odroid-n2: enable DVFS .../boot/dts/amlogic/meson-g12-common.dtsi | 2417 ++++++++++++++++ .../boot/dts/amlogic/meson-g12a-sei510.dts | 55 + .../boot/dts/amlogic/meson-g12a-u200.dts | 54 + .../boot/dts/amlogic/meson-g12a-x96-max.dts | 52 + arch/arm64/boot/dts/amlogic/meson-g12a.dtsi | 2418 +---------------- .../boot/dts/amlogic/meson-g12b-odroid-n2.dts | 96 + arch/arm64/boot/dts/amlogic/meson-g12b.dtsi | 145 +- 7 files changed, 2856 insertions(+), 2381 deletions(-) create mode 100644 arch/arm64/boot/dts/amlogic/meson-g12-common.dtsi -- 2.22.0