Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp121742ybt; Thu, 25 Jun 2020 17:02:56 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwDFE5KewZShVEl/t52EBnQ0TREuMZUTdk4zMpRvAIfFIe5F2QBT9eFdmYtbuH8Nee/i9FF X-Received: by 2002:a50:ab5c:: with SMTP id t28mr730237edc.209.1593129775927; Thu, 25 Jun 2020 17:02:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1593129775; cv=none; d=google.com; s=arc-20160816; b=Vq3mf1t/6NJHyj9Q1xyE/Ddy4vRrJuHnYl81s+r8fQLJi+GgYzemQ17HCR7jWaJqvA 2V2TGFT+4377aC3Ls89pgXeeOTfinMR32DkzYSGoTrP5ECt8IT6XbE1xK+/gG8fbIao/ 16+2PFvgJxwqtR0G4h8rBM6HVega3usr/erUgjFwBag/BitdNt+dygCxDMEtNqw1BLE0 oKOd5rhll9qse1Nt/ZaA5EqgdcSEdddLANr0tA9aYNfPmr6zltFquOSseP1I7xH0UiJy zkObJgw9wZVP7Ymzvnt1ZY3t33rHNdHls1+oz59jfGN7ytnsfalLqB1m1BGpDVtf429r PGiQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=HbW3NKNom8juXI2NoyDjAEEkKyRH9dumXigRxuvNwKY=; b=ZhUbtLDa6cn+oGhMPgDb1buMpS7eOIUVhEGzSVgTgprwtTh6ZwxmUXT5P+T30Aj6BT 12D9M9n2Z3xvsivHwRTSkybFaslCZ5fdrqz47eMrYuCxkn/LLjUYOgL/YcVGyTv22tQh o5oS0RPs/rkoqdpVnaqjC1uxjHuEan1d2gznLIXUo383Ar9wDEbZVZ44lYzO4TfRlEyj FpNg3zHrMJzQhtm2AnE6mJSeRGRUASBONrnUEdznF5WJ185snCC2PuOkHEF76Cl4MHSc L3KZkHv+Ogc5158SCSWg0a2gMdBAXgIrArviCDkL7ggNnkQ8JJJoTeh3FPMIpTa8nXhP IwXw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ew6AmTKs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x24si15751035ejs.448.2020.06.25.17.02.32; Thu, 25 Jun 2020 17:02:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Ew6AmTKs; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725906AbgFYXea (ORCPT + 99 others); Thu, 25 Jun 2020 19:34:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46696 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725801AbgFYXe1 (ORCPT ); Thu, 25 Jun 2020 19:34:27 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1ADD7C08C5C1; Thu, 25 Jun 2020 16:34:27 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id n24so7636470ejd.0; Thu, 25 Jun 2020 16:34:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=HbW3NKNom8juXI2NoyDjAEEkKyRH9dumXigRxuvNwKY=; b=Ew6AmTKssf2v/cyQeO5Y1e/8dZ4+HeAs3VVDf3775Azsh2mnWBEfGQjbKuZGreCr3P 6TGm4m6S+DCTSUJiPQyXFIzJbqjJqns475FPvcSfdNetTPq3p7ObiWqafYB+F5IUfN+U WUxp1aSR31ZJOtdLEjl1pMhHaH3rYzU3M1YR0+E812S0vq3mu6zT0NRK7lfKikavA2Rc DU/TdinllQO/9g/KkhgasEjZNODKB+/BZFF1jm3e2qOZIuOO4Zv4KKBydWXN+KiYgWx3 6BH8bZFUplpjCUIk4Vjdi8Ulcftp/UBzHrr9LHw254hOTYYt80toA5qBRDAy81JNHmNZ SG1w== 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=HbW3NKNom8juXI2NoyDjAEEkKyRH9dumXigRxuvNwKY=; b=UeLSAhtOxz/9TtlWJmSZpzMKV2TP3EuA6LX8ofn9wr+eGfeV3nQ34IDhVuPrUgAn/W BQpoinamnwdiSkV6hU/1HR/YkTDuOFgKImPUpGytds0S8kb5px9shKqLwtjtJUeYR54E feeVMeKunLMcqFtdBHfp0n2E0PIAKOfFr4sYbHkNKLIjTmP+qditVB1WAOXvTkCTRTUX D+eq7kgdB+3t71EluHbG3W/C9veGvbA4wFEaOsWpBbExYtusi2Qo/mu6zcaWypok7KjG 0c1dZzRT9Gb2aO9ms2+BMeh+FZI1MkcdScQpGlzPAqjQx40czpPSPPDgYSSEm7v1ELHW 5r7Q== X-Gm-Message-State: AOAM5306iSReNXIT0FNCs91W8jdTre4dChxaTfW1R+6Zqa+HjBqYzLUp FnqnVZ0WUh4OwnMH+tVdjzo= X-Received: by 2002:a17:906:6dcd:: with SMTP id j13mr163854ejt.131.1593128065834; Thu, 25 Jun 2020 16:34:25 -0700 (PDT) Received: from localhost.localdomain ([188.24.137.55]) by smtp.gmail.com with ESMTPSA id u2sm13699184edq.29.2020.06.25.16.34.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 25 Jun 2020 16:34:25 -0700 (PDT) From: Cristian Ciocaltea To: Rob Herring , =?UTF-8?q?Andreas=20F=C3=A4rber?= , Manivannan Sadhasivam Cc: devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-actions@lists.infradead.org Subject: [PATCH 01/10] arm: dts: owl-s500: Add Clock Management Unit Date: Fri, 26 Jun 2020 02:34:13 +0300 Message-Id: <3c51f6c9d4a8bd21cd7c3797cc3f32dfcadcf512.1593124368.git.cristian.ciocaltea@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add Clock Management Unit for Actions Semi S500 SoC. Signed-off-by: Cristian Ciocaltea --- arch/arm/boot/dts/owl-s500.dtsi | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/arch/arm/boot/dts/owl-s500.dtsi b/arch/arm/boot/dts/owl-s500.dtsi index 1dbe4e8b38ac..5d5ad9db549b 100644 --- a/arch/arm/boot/dts/owl-s500.dtsi +++ b/arch/arm/boot/dts/owl-s500.dtsi @@ -5,6 +5,7 @@ * Copyright (c) 2016-2017 Andreas Färber */ +#include #include #include @@ -70,6 +71,12 @@ hosc: hosc { #clock-cells = <0>; }; + losc: losc { + compatible = "fixed-clock"; + clock-frequency = <32768>; + #clock-cells = <0>; + }; + soc { compatible = "simple-bus"; #address-cells = <1>; @@ -169,6 +176,13 @@ uart6: serial@b012c000 { status = "disabled"; }; + cmu: clock-controller@b0160000 { + compatible = "actions,s500-cmu"; + reg = <0xb0160000 0x8000>; + clocks = <&hosc>, <&losc>; + #clock-cells = <1>; + }; + timer: timer@b0168000 { compatible = "actions,s500-timer"; reg = <0xb0168000 0x8000>; -- 2.27.0