From patchwork Mon Mar 27 08:36:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: AngeloGioacchino Del Regno X-Patchwork-Id: 75303 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:b0ea:0:b0:3b6:4342:cba0 with SMTP id b10csp1359193vqo; Mon, 27 Mar 2023 01:42:47 -0700 (PDT) X-Google-Smtp-Source: AKy350ak1ItGPyxLFj1ycuf6DsDoOkfi6N2xjUMCI+vWdMTfnLWR+NN2/GTumntQ9oPTaNt6tGm3 X-Received: by 2002:aa7:9af6:0:b0:623:c117:f20e with SMTP id y22-20020aa79af6000000b00623c117f20emr10233348pfp.19.1679906567709; Mon, 27 Mar 2023 01:42:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679906567; cv=none; d=google.com; s=arc-20160816; b=A+NhyBr+DxRV2hEZK5f0jiNSWKwEyikz+nszLS6ELgQ19Pu23Onx++NerWfCDq57vr VdFST0fpfI0wstK2IC/QgCr4s3Sf0pmc6X82vD9GBa2JJLHoVIPnjJWuwWf2va6KEm17 ULgxEvohl5wCcu45V4Y5e/5xVtqFan0KiOaqPoOzM233Qtg8UJAXF0udTNSEqfioD9Qg LEgRip86hBNx2d08y2Y9zqnDA11mAKKL9JM9wtAnwqRq8OXFAbc9GK6KfRSDuRTDqua8 JBikPz6Xmd5zqJy7kLhVL2uUywb5EQG3liSyletSathKVll+wd28tXfdqTyK61Tozev+ qs7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=pTyKzKyUA94hSyf0ksiUxTZTBVUSTUIL5Qpnhzgn19s=; b=J0gcRZZLQZsE09lKOxTUbRy94MGAEdn6md0TWyHH37B/CWiWPNwBNxwizTVE6t9VjX OQFCwF0tFO3DUk2BT6zfdQOaBGVMKT76n6qg9zBJsdylb6LrXjZ+W9Lk48U3LmHzo663 9UJQI/AEZRjOsiMyHaITVuQdd5RmOLSEfQl5Kp3i2xjCLCu4O5+tMghcw7k19fBec1D4 D3ogr52Hs2hc5/eRgGIhb1Ya224U5YK4dBN2GmtgznpU4FAa8rdG+2sKJ6CyWE0H/paE UtGCDRv3hqoMEqRyJzFCVEp6sI/1L8wx1ChAgsDo1JVzd8f0tmoj6Vu4dY6msXUCTSB8 qvkA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=aKvdW67m; 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=collabora.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f13-20020a056a00228d00b005a84d4b045esi28184927pfe.118.2023.03.27.01.42.35; Mon, 27 Mar 2023 01:42:47 -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=@collabora.com header.s=mail header.b=aKvdW67m; 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=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233444AbjC0ImE (ORCPT + 99 others); Mon, 27 Mar 2023 04:42:04 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35348 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233089AbjC0Ike (ORCPT ); Mon, 27 Mar 2023 04:40:34 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B119235A2; Mon, 27 Mar 2023 01:36:56 -0700 (PDT) Received: from IcarusMOD.eternityproject.eu (2-237-20-237.ip236.fastwebnet.it [2.237.20.237]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id B5F5E660308B; Mon, 27 Mar 2023 09:36:54 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1679906215; bh=NomHwJjqmoIPLlLZ3+9R0/l6R9Kvr/DrQn2Y01kmsNU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=aKvdW67m47+IyhI0RzD0fa3Bs0TAWLxFlgyzU04BCqOx4zfcs5RKILed7DOh+Bm/B O3I5aMLMAnqeMtYBsMP300/IyAWrKOvoVXzBOli7N4MNXHDTVXlDwsGkh/wJnI6qZX N9gMFS2SjSChYOy+nCZ5r3zi5wPqHW2bl9g6zjVrsLBg/+sgS7ji0/TI7+j7QkRVki rxNiywvQhaeCjA1Sby+cQWty4r4BLtuFgcvz+cyxdPpbfpRVbD/aDfq7/vc35QQecb dwwRc5CwDDDWoHmtlcaaerfJQbiFxUE3Q65uqaWdtuk9JOBiFLrGCCeOl0whshwHNZ LrWH64shgjvRw== From: AngeloGioacchino Del Regno To: matthias.bgg@gmail.com Cc: qii.wang@mediatek.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, jassisinghbrar@gmail.com, houlong.wei@mediatek.com, linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, kernel@collabora.com, phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, AngeloGioacchino Del Regno Subject: [PATCH v2 02/17] arm64: dts: mediatek: mt6795: Add apmixedsys syscon node Date: Mon, 27 Mar 2023 10:36:32 +0200 Message-Id: <20230327083647.22017-3-angelogioacchino.delregno@collabora.com> X-Mailer: git-send-email 2.40.0 In-Reply-To: <20230327083647.22017-1-angelogioacchino.delregno@collabora.com> References: <20230327083647.22017-1-angelogioacchino.delregno@collabora.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=unavailable 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?1761509709310388536?= X-GMAIL-MSGID: =?utf-8?q?1761509709310388536?= Add the APMIXEDSYS node, providing a syscon to the APMIXED iospace and also providing PLLs. Signed-off-by: AngeloGioacchino Del Regno --- arch/arm64/boot/dts/mediatek/mt6795.dtsi | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/arch/arm64/boot/dts/mediatek/mt6795.dtsi b/arch/arm64/boot/dts/mediatek/mt6795.dtsi index 4d2119751572..26d640e1bfb6 100644 --- a/arch/arm64/boot/dts/mediatek/mt6795.dtsi +++ b/arch/arm64/boot/dts/mediatek/mt6795.dtsi @@ -310,6 +310,12 @@ systimer: timer@10200670 { clock-names = "clk13m"; }; + apmixedsys: syscon@10209000 { + compatible = "mediatek,mt6795-apmixedsys", "syscon"; + reg = <0 0x10209000 0 0x1000>; + #clock-cells = <1>; + }; + fhctl: clock-controller@10209f00 { compatible = "mediatek,mt6795-fhctl"; reg = <0 0x10209f00 0 0x100>;