From patchwork Fri Sep 4 06:44:52 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Weiyi Lu X-Patchwork-Id: 11755899 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id C6DB1138C for ; Fri, 4 Sep 2020 06:45:25 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9FA4D206B8 for ; Fri, 4 Sep 2020 06:45:25 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="noLBbuwR"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=mediatek.com header.i=@mediatek.com header.b="Er2cu9Oz" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 9FA4D206B8 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=mediatek.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:Message-ID:Date:Subject:To:From: Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender :Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References:List-Owner; bh=EKWPY7QDYP3uis/RGgfskLMQAsXdlyjqrgW2gP8SiLw=; b=noLBbuwRpLiEv979PPuivhHiSX /iqD7t0vnDkmUzMoXmh9ZRMtbR6KTTdQwIkzmOI1Z0+xOG+IMFwkbck89n1e+/xZ1ch3W+gUq45r7 2rMYdlkQ7UJZFJoqGQbtwxDo6z0jU4YChQrpR6f/dBKIjMLAT0rdy/sAab/VPnoMDWhfFW1qbtE7D EbRm8/McPVn1erasJFWw2lC3vmgubUFH1WNoLPSr404aL7ydOkmNxwrMLsqnrS9YulU8/WlGZt9UP Pgiqe5q/yzhhDUv36MwYQF0T9ZHgcFLfWJceqM8GhiL6ZVq04z+V0U7Yhf8BIW4+DfLKsE5ADSuyT 88FrCNvQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kE5TG-0002yq-6w; Fri, 04 Sep 2020 06:45:14 +0000 Received: from mailgw02.mediatek.com ([216.200.240.185]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kE5TA-0002w4-3O; Fri, 04 Sep 2020 06:45:09 +0000 X-UUID: fda48155aff743f28e15f6ba869e6c4b-20200903 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID:Date:Subject:CC:To:From; bh=OQecg9cZ8/g9Z/4uGEw+tFX+Ft+eJHlpTokpoBrahJE=; b=Er2cu9Ozehb91VvYji9Sv7KR8XFY2lVsbSXnuN3sxOfdv+Fo5jfgIdk9QmoEBtOEkWQqQ3xVngs7sB9zvN42t+XlTTb26xfbwp6tAqSj9NyWjXZGteeOFZZed9sEEpiEjASWwzK0eep+6o5B+ocF5pC89j/6r0z/lloLIoJUSvg=; X-UUID: fda48155aff743f28e15f6ba869e6c4b-20200903 Received: from mtkcas66.mediatek.inc [(172.29.193.44)] by mailgw02.mediatek.com (envelope-from ) (musrelay.mediatek.com ESMTP with TLSv1.2 ECDHE-RSA-AES256-SHA384 256/256) with ESMTP id 2129140577; Thu, 03 Sep 2020 22:44:59 -0800 Received: from mtkmbs07n1.mediatek.inc (172.21.101.16) by MTKMBS62N1.mediatek.inc (172.29.193.41) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Thu, 3 Sep 2020 23:44:57 -0700 Received: from MTKCAS06.mediatek.inc (172.21.101.30) by mtkmbs07n1.mediatek.inc (172.21.101.16) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Fri, 4 Sep 2020 14:44:55 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by MTKCAS06.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.0.1497.2 via Frontend Transport; Fri, 4 Sep 2020 14:44:55 +0800 From: Weiyi Lu To: Enric Balletbo Serra , Matthias Brugger , Nicolas Boichat , "Rob Herring" , Sascha Hauer Subject: [PATCH 0/3] Mediatek MT8192 scpsys support Date: Fri, 4 Sep 2020 14:44:52 +0800 Message-ID: <1599201895-11013-1-git-send-email-weiyi.lu@mediatek.com> X-Mailer: git-send-email 1.8.1.1.dirty MIME-Version: 1.0 X-MTK: N X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200904_024508_287256_758B677A X-CRM114-Status: GOOD ( 10.56 ) X-Spam-Score: -0.2 (/) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-0.2 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record 0.0 MIME_BASE64_TEXT RAW: Message text disguised using base64 encoding -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 UNPARSEABLE_RELAY Informational: message has unparseable relay lines X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Weiyi Lu , srv_heupstream@mediatek.com, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org This series is based on v5.9-rc1, MT8192 clock v3[1] and MT8183 scpsys v17[2]. [1] https://patchwork.kernel.org/cover/11752231/ [2] https://patchwork.kernel.org/cover/11703253/ Weiyi Lu (3): dt-bindings: soc: Add MT8192 power dt-bindings soc: mediatek: Add MT8192 scpsys support arm64: dts: Add power controller device node of MT8192 .../bindings/soc/mediatek/scpsys.txt | 5 + arch/arm64/boot/dts/mediatek/mt8192.dtsi | 148 +++++++++ drivers/soc/mediatek/mtk-scpsys.c | 297 ++++++++++++++++++ include/dt-bindings/power/mt8192-power.h | 32 ++ 4 files changed, 482 insertions(+) create mode 100644 include/dt-bindings/power/mt8192-power.h