From patchwork Thu Jul 23 15:26:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Daniel Lezcano X-Patchwork-Id: 11681225 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 39007138C for ; Thu, 23 Jul 2020 15:30:00 +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 0642C2067D for ; Thu, 23 Jul 2020 15:30:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UBsFna9s"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="dQ0bNcNH" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0642C2067D Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org 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:References:In-Reply-To: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:List-Owner; bh=DacAOJK9pIPL7x/fHoUsKTB8wRFf+xbvp3jc7LuC74w=; b=UBsFna9sBKGjARpgw4BD1RQj2 BURI4ay2hrM54jeCwOb5G/Q2kgwwjMuL6P7q1QzangOsiQQ3QUCUnyH+Zkii0MQoC5qgtn1pA+d0x ZWVpUY9Z5RIQZhjMJfqr690snTLPTQ8fgHeFQ6HhCf95Yz9gwGVKwyg7UYFBfM9ch6qotfHsZM+HX +G3DAhiLPIOBYy5V/QPoNdPdY/UkyFssBcbOrHIL29YSK1Ie/VA5GZoe/KsLlidY3erfjjk0ewUNd U1qfEojkhsPhuW+/2/DfGCqgzj6QUkCmhpZPeeAfUlRI2n40ALat1+GfQEpD4MPOUZqAVuaYzsTZm z44lZcDww==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyd8V-0007po-0W; Thu, 23 Jul 2020 15:27:55 +0000 Received: from mail-wr1-x441.google.com ([2a00:1450:4864:20::441]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jyd7a-0007TT-Dq for linux-arm-kernel@lists.infradead.org; Thu, 23 Jul 2020 15:26:59 +0000 Received: by mail-wr1-x441.google.com with SMTP id f2so5561094wrp.7 for ; Thu, 23 Jul 2020 08:26:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=R3Az9OepR2BdTDAPEdWN7LwMsA5P61TmIGuTZB4zgG8=; b=dQ0bNcNHpnx9qpWEBFvn7k8BSJ2+ODBoKIGwRh8WJxScokmdsmED6rZDIst+EPX73+ IDDU64ZC9K0ihBDdbvtkjDopIVWL++lUhyeRvE1y1WGtDBZY71hjXDm84zKIj44QDyS/ QixwlMZJ4P0+GvPv9cGPqCLIpGUob9YCuBrBuyZk2xKm8jYOQNElQCkudTwJyeftVOgj BcybaEjwi9sQTAZvYtaepJP8A4953wsmbvhodkgh3DC0UE7JAwH2//Gr97lxGDF5F1iC g9Sq+FbIp/Hya2TDm9DioJ5j5tu20mfUOJJQ2xr7x5BtGOyT0g1MpcJbIkuWuX4raguH oOnw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=R3Az9OepR2BdTDAPEdWN7LwMsA5P61TmIGuTZB4zgG8=; b=iyi6Jpten3pEkE9MtKoucLpaI0RRmAOzNBzTQsNnKBe6yDrNYLEtJOzEH9RR+5VR9M Co61OsD8QofN1wa27j0d8SLPTNkjhub3mCAnClxKuR6DRbJsqfcvNjO4DorlHYnHuDPb i53z3LWh50rZpcFWJsT2HZiiTY5vx0oP1fvUKKEHZ4c+b2Bk96gDKINurf71zfEiwESp F7Ru1Rt77bvbMq8xTh00feHi1LmmhH1RO0tqPtsrir97nps2mxC1ZIIbWyibghfudpKH UYGPHMRlGQwI4wrp3ffCljH9WK3XFwRQe1+6PpRg/jHph03oPUgYXScaDtLo3jWkwUNA a9QA== X-Gm-Message-State: AOAM532ApneLHrpbEi5jB+9M2m1+QJGK76nZG5EIX3sEdzP3bhsssEY+ +mHMfevs9kMP5gdGMbGKojXRlw== X-Google-Smtp-Source: ABdhPJx6Y0KCgNUV6vyevzLdntNlIy25yfdHe+xPNK9dHmUZ0jPqL/DqTZacB9I3mfa7338G1RCmeQ== X-Received: by 2002:adf:c108:: with SMTP id r8mr3999574wre.41.1595518017097; Thu, 23 Jul 2020 08:26:57 -0700 (PDT) Received: from mai.imgcgcw.net ([2a01:e34:ed2f:f020:dca7:8d30:33fa:daac]) by smtp.gmail.com with ESMTPSA id g145sm5963491wmg.23.2020.07.23.08.26.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 23 Jul 2020 08:26:56 -0700 (PDT) From: Daniel Lezcano To: tglx@linutronix.de Subject: [PATCH 03/16] ARM: dts: at91: sama5d2: add TCB GCLK Date: Thu, 23 Jul 2020 17:26:23 +0200 Message-Id: <20200723152639.639771-3-daniel.lezcano@linaro.org> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200723152639.639771-1-daniel.lezcano@linaro.org> References: <1b1122f4-bce9-f349-e602-ed8e14cbb501@linaro.org> <20200723152639.639771-1-daniel.lezcano@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200723_112658_547502_2C8092DA X-CRM114-Status: UNSURE ( 9.95 ) X-CRM114-Notice: Please train this message. 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 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:441 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 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: "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , Alexandre Belloni , open list , Ludovic Desroches , Rob Herring , "moderated list:ARM/Microchip AT91 SoC support" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org From: Alexandre Belloni The sama5d2 tcbs take an extra input clock, their gclk. Signed-off-by: Alexandre Belloni Signed-off-by: Daniel Lezcano Link: https://lore.kernel.org/r/20200710230813.1005150-4-alexandre.belloni@bootlin.com --- arch/arm/boot/dts/sama5d2.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm/boot/dts/sama5d2.dtsi b/arch/arm/boot/dts/sama5d2.dtsi index ab550d69db91..996143e966d8 100644 --- a/arch/arm/boot/dts/sama5d2.dtsi +++ b/arch/arm/boot/dts/sama5d2.dtsi @@ -499,23 +499,23 @@ macb0: ethernet@f8008000 { }; tcb0: timer@f800c000 { - compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon"; + compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon"; #address-cells = <1>; #size-cells = <0>; reg = <0xf800c000 0x100>; interrupts = <35 IRQ_TYPE_LEVEL_HIGH 0>; - clocks = <&pmc PMC_TYPE_PERIPHERAL 35>, <&clk32k>; - clock-names = "t0_clk", "slow_clk"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 35>, <&pmc PMC_TYPE_GCK 35>, <&clk32k>; + clock-names = "t0_clk", "gclk", "slow_clk"; }; tcb1: timer@f8010000 { - compatible = "atmel,at91sam9x5-tcb", "simple-mfd", "syscon"; + compatible = "atmel,sama5d2-tcb", "simple-mfd", "syscon"; #address-cells = <1>; #size-cells = <0>; reg = <0xf8010000 0x100>; interrupts = <36 IRQ_TYPE_LEVEL_HIGH 0>; - clocks = <&pmc PMC_TYPE_PERIPHERAL 36>, <&clk32k>; - clock-names = "t0_clk", "slow_clk"; + clocks = <&pmc PMC_TYPE_PERIPHERAL 36>, <&pmc PMC_TYPE_GCK 36>, <&clk32k>; + clock-names = "t0_clk", "gclk", "slow_clk"; }; hsmc: hsmc@f8014000 {