From patchwork Sun Jan 2 16:57:24 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Romain Perier X-Patchwork-Id: 12702313 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 50807C433EF for ; Sun, 2 Jan 2022 16:59:26 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=meVABJ/uluQOF8Je/1uEng7j6iGQwwNQVoYs1oEND3k=; b=oCKZOurLBSubxC xTy+pFkGBimm1LIjvLQIzr2ZV5PEoL3b0Ayet96pN2bV03s7iw1XXIrOC7froamiJBIOWpo4n0wDM l92Ioa4I4t7ZCa0y3DYgIBL4sG4kadUPKwTw1sbPWp4Kx1r9G7BMNjQl0HdN4bxQh3SxT6PHBs+/p V25Ybxf/VBypY3BxArWtVgGYwqaPyk7RzplwboCJKuuukQTGbUsoLlZWqYzcZdySLoeTcR3yOmnbr eH8UxkpSdCJkDmRu+CvjbPsbVf/JyFW/zDwAh0tQV1oXhzS+HYuEvCA2KP0EkxGImmuQZ9B7kpZgC 0qDqcJC8fTipN0B3kijg==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n44BL-007ywn-Vc; Sun, 02 Jan 2022 16:58:08 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1n44At-007ynV-As for linux-arm-kernel@lists.infradead.org; Sun, 02 Jan 2022 16:57:40 +0000 Received: by mail-wm1-x333.google.com with SMTP id g132so20223966wmg.2 for ; Sun, 02 Jan 2022 08:57:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=0JpeJi0yBD942AUCHxsREdLSnIblSWTMYzLY8RDVTEU=; b=gYiQJr9qOZfUgO3rCKc+/aCbfxKPV3OS+qhOj4d7Tj12PBcldY8C4aO+PoW9K4p935 0TQgy/b+/02G6cDsLdsUjrPF2F0KrhxEfT2hgAsfPCX8WV+h4A7UJEgdW3yRL/vShFpv LWogpGjXC5OxxAOW5oYKVd+/jaicjL61SaqgtqEZ12qNBBfCRvvL8sIyaSnPw6y6O5fN d5LLtQlPmGl04LPPDPurbTm+kJ3pyWJOjrwDkrF4AElYTdeV/59BckqGDdTcGP5fRUxH YWH1Nb8/7qca/V185BJCBFCUSRkIp+uFAd0yytDmzPqEW49wmXi0/PEQ5pUDDZatdSdP sLbA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=0JpeJi0yBD942AUCHxsREdLSnIblSWTMYzLY8RDVTEU=; b=Ld1OdraEgmfs9AImf9iTDLWWnnQhzlQbOUFrKS60PjO2SHtsZqJHpA2+LX/8sOEXBg sJhSAflWfsfh9JC/YQihn+NMmQypSpofZWpEbGorX1r01hLI7R0pgfPcWqe1FeEK14m8 uHK6ZXHpSboQNf8SGA1lDRtp5TsFM9C86C9RDd+f8/NBiyIPpMWcFwlZnMMlsmdKoMUH Z+AmcB2IY0EnBFJ/MNsC7B7wvthy9OpjMs28/YJHB0xTlLd/mJyXRoAKyR2+XWq62vKl xyG68DJSQ4dKd680396vSVmPlmkaWSIix2Bf0ICPopSqvU7pdw2Bvd2uJYjddEQpMHyU AgCQ== X-Gm-Message-State: AOAM533L+NDEu1VFFek+ODF6Zd0jPfeLF0+UoOqG1y1csIlsAwo7s4zb AdFqR7OeEC1QYx/Faz6g1/0= X-Google-Smtp-Source: ABdhPJytsMoKEXSNH/cIPbIMvFJtaeNzmKn21Hbr+6f0Cy8+YgR+2GlCQxMZo7+dn35Jsadqow94sQ== X-Received: by 2002:a05:600c:296:: with SMTP id 22mr36751205wmk.11.1641142657899; Sun, 02 Jan 2022 08:57:37 -0800 (PST) Received: from debby ([2a01:e0a:a6d:a8d0:7ff4:8f61:5574:9f95]) by smtp.gmail.com with ESMTPSA id y11sm32899848wrp.86.2022.01.02.08.57.37 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 02 Jan 2022 08:57:37 -0800 (PST) From: Romain Perier To: Michael Turquette , Stephen Boyd , linux-clk@vger.kernel.org, Arnd Bergmann , Daniel Palmer , Romain Perier , Rob Herring Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 3/9] ARM: mstar: Add cpupll to base dtsi Date: Sun, 2 Jan 2022 17:57:24 +0100 Message-Id: <20220102165730.50190-4-romain.perier@gmail.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20220102165730.50190-1-romain.perier@gmail.com> References: <20220102165730.50190-1-romain.perier@gmail.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220102_085739_398734_F750EAFC X-CRM114-Status: GOOD ( 11.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org From: Daniel Palmer All MStar/SigmaStar ARMv7 SoCs have the CPU PLL at the same place so add it to the base dtsi. Signed-off-by: Daniel Palmer --- arch/arm/boot/dts/mstar-v7.dtsi | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/arch/arm/boot/dts/mstar-v7.dtsi b/arch/arm/boot/dts/mstar-v7.dtsi index 89ebfe4f29da..2249faaa3aa7 100644 --- a/arch/arm/boot/dts/mstar-v7.dtsi +++ b/arch/arm/boot/dts/mstar-v7.dtsi @@ -155,6 +155,13 @@ mpll: mpll@206000 { clocks = <&xtal>; }; + cpupll: cpupll@206400 { + compatible = "mstar,msc313-cpupll"; + reg = <0x206400 0x200>; + #clock-cells = <0>; + clocks = <&mpll MSTAR_MSC313_MPLL_DIV2>; + }; + gpio: gpio@207800 { #gpio-cells = <2>; reg = <0x207800 0x200>;