From patchwork Fri Mar 17 06:09:13 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Allen-KH Cheng X-Patchwork-Id: 71082 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:604a:0:0:0:0:0 with SMTP id j10csp170114wrt; Thu, 16 Mar 2023 23:12:36 -0700 (PDT) X-Google-Smtp-Source: AK7set8SLcWPFhKYQgCklNz9N0q+MNgqCWA74zJWalz91c6rGN3RiB1F967Zg69O4Mfc65fzvLB6 X-Received: by 2002:a05:6a21:99a3:b0:d7:3c1a:6cc5 with SMTP id ve35-20020a056a2199a300b000d73c1a6cc5mr4450004pzb.5.1679033556422; Thu, 16 Mar 2023 23:12:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679033556; cv=none; d=google.com; s=arc-20160816; b=xvzsuWA5Pf63udOXEbsrzSCud9d8HJnZtfYD6UawnLVNWk/BoWVjYlOdAUYf16amqT 8P5qgg0S2MJJ6GRlGYroSWRc15lfDGafV9KYxGCsoNZBVcLAo9H3pG8zrlOTrMtmQivC AhtinxjvPUldPcWv7rrN6o/2OnGzmuEe73o77T3H/ozRGfB0JWsLb77kPY75ntPPEv0l AaRUg9WVHEg03+DXDgs1vONTJvZv64NyV7ClebipXd0j/OwfRt5hDLq0HNkkyqrJR9W4 0mKHddK/4PTzFsMePe7NQjnstS1dR2SsYjLa22KQoh0qppOUcbq175tV0EYuMwhgzVz0 8NzA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=v4C/c+coZf632gYlNNtB8sYdI1ZF+6VwQghIMiH1Nmw=; b=c3A4HTFFS1hb+bZnyfIgshU9NhKuherDoea8lDvLfdFjzxx8NisXutbO/Nz4Ad87y8 5c/4efDG3HOa9eqfGqIE6ZG2M5jds1k2poRw953hBjm9WRNZpePnTJvGyEyyYrKGHS5+ S8dvMqXCO6bgZTULbRb2scsxas68B5ydGryuXPGtSd5TtKwC19v22LfQsEhJ0N0XN/N/ yBxhiJOibmxB+PDgRw1mUpHKJ5symsraaYXPYAcKsAfjUtp2BIUrbEYdBzAGfi5KQESF heF7jzqEwKErjl+EdFUM/kgQWfCRXIH1uJHlbMY3lVn+Pff0Q4mz4c0nn+VeRa5v4Hvf 723A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=czNbOTmd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id h7-20020a632107000000b0050be2ca268csi1306302pgh.762.2023.03.16.23.12.23; Thu, 16 Mar 2023 23:12:36 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@mediatek.com header.s=dk header.b=czNbOTmd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=mediatek.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230027AbjCQGJb (ORCPT + 99 others); Fri, 17 Mar 2023 02:09:31 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41538 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229988AbjCQGJ2 (ORCPT ); Fri, 17 Mar 2023 02:09:28 -0400 Received: from mailgw02.mediatek.com (unknown [210.61.82.184]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C853328E74; Thu, 16 Mar 2023 23:09:26 -0700 (PDT) X-UUID: 42999726c48a11edbd2e61cc88cc8f98-20230317 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=mediatek.com; s=dk; h=Content-Type:MIME-Version:References:In-Reply-To:Message-ID:Date:Subject:CC:To:From; bh=v4C/c+coZf632gYlNNtB8sYdI1ZF+6VwQghIMiH1Nmw=; b=czNbOTmdNqooMeSAdKtPrftkvhcI4Bu2coG+8wES13Oy+2VrJlphVOrqkYLN2A+BUN+lFTrrCt7nhoZMP9MQidPCL36qGRMIXo1RohDpNDBKdRyf3e4wtPXybNQoigwXmffuc7qDlRjqyM61gTpnges5b0AgC+rAjiDSwUdg5Qs=; X-CID-P-RULE: Release_Ham X-CID-O-INFO: VERSION:1.1.21,REQID:ecc033e0-a59c-45fd-8830-3c75b63d53cd,IP:0,U RL:0,TC:0,Content:-5,EDM:0,RT:0,SF:0,FILE:0,BULK:0,RULE:Release_Ham,ACTION :release,TS:-5 X-CID-META: VersionHash:83295aa,CLOUDID:cbcfa728-564d-42d9-9875-7c868ee415ec,B ulkID:nil,BulkQuantity:0,Recheck:0,SF:102,TC:nil,Content:0,EDM:-3,IP:nil,U RL:0,File:nil,Bulk:nil,QS:nil,BEC:nil,COL:0,OSI:0,OSA:0,AV:0 X-CID-BVR: 0 X-CID-BAS: 0,_,0,_ X-UUID: 42999726c48a11edbd2e61cc88cc8f98-20230317 Received: from mtkmbs13n2.mediatek.inc [(172.21.101.108)] by mailgw02.mediatek.com (envelope-from ) (Generic MTA with TLSv1.2 ECDHE-RSA-AES256-GCM-SHA384 256/256) with ESMTP id 2112882379; Fri, 17 Mar 2023 14:09:22 +0800 Received: from mtkmbs11n2.mediatek.inc (172.21.101.187) by mtkmbs11n2.mediatek.inc (172.21.101.187) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.25; Fri, 17 Mar 2023 14:09:20 +0800 Received: from mtksdccf07.mediatek.inc (172.21.84.99) by mtkmbs11n2.mediatek.inc (172.21.101.73) with Microsoft SMTP Server id 15.2.1118.25 via Frontend Transport; Fri, 17 Mar 2023 14:09:20 +0800 From: Allen-KH Cheng To: Matthias Brugger , Rob Herring , Krzysztof Kozlowski , Stephen Boyd , AngeloGioacchino Del Regno CC: , , , , , , Allen-KH Cheng Subject: [PATCH v4 3/7] arm64: dts: mediatek: mt8186: Add SPMI node Date: Fri, 17 Mar 2023 14:09:13 +0800 Message-ID: <20230317060917.15175-4-allen-kh.cheng@mediatek.com> X-Mailer: git-send-email 2.18.0 In-Reply-To: <20230317060917.15175-1-allen-kh.cheng@mediatek.com> References: <20230317060917.15175-1-allen-kh.cheng@mediatek.com> MIME-Version: 1.0 X-MTK: N X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS, SPF_PASS,UNPARSEABLE_RELAY,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1760594290241683119?= X-GMAIL-MSGID: =?utf-8?q?1760594290241683119?= Add SPMI node for MT8186 SoC. Signed-off-by: Allen-KH Cheng Reviewed-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt8186.dtsi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt8186.dtsi b/arch/arm64/boot/dts/mediatek/mt8186.dtsi index 178421fd8380..0e42bdbd2cb6 100644 --- a/arch/arm64/boot/dts/mediatek/mt8186.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt8186.dtsi @@ -602,6 +602,21 @@ clock-names = "spi", "wrap"; }; + spmi: spmi@10015000 { + compatible = "mediatek,mt8186-spmi", "mediatek,mt8195-spmi"; + reg = <0 0x10015000 0 0x000e00>, <0 0x1001B000 0 0x000100>; + reg-names = "pmif", "spmimst"; + clocks = <&infracfg_ao CLK_INFRA_AO_PMIC_AP>, + <&infracfg_ao CLK_INFRA_AO_PMIC_TMR>, + <&topckgen CLK_TOP_SPMI_MST>; + clock-names = "pmif_sys_ck", "pmif_tmr_ck", "spmimst_clk_mux"; + assigned-clocks = <&topckgen CLK_TOP_SPMI_MST>; + assigned-clock-parents = <&topckgen CLK_TOP_ULPOSC1_D10>; + interrupts = , + ; + status = "disabled"; + }; + systimer: timer@10017000 { compatible = "mediatek,mt8186-timer", "mediatek,mt6765-timer";