From patchwork Wed Oct 31 18:36:33 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jagan Teki X-Patchwork-Id: 10663191 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id E04D514DE for ; Wed, 31 Oct 2018 18:38:32 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CBB492B3D2 for ; Wed, 31 Oct 2018 18:38:32 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BC56E2B3DB; Wed, 31 Oct 2018 18:38:32 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 715F62B3D2 for ; Wed, 31 Oct 2018 18:38:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.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=/llYQHtvLVbFQQ+GslTONScchJwTbTKzvedmhUaSFbs=; b=OyaQa6XtPH5nyU XQxnxJLv4kQzqy358OudV7cgX6Rn/zk96mRBgZI/8StxYZsqSdQfe5vmIbdPmtFEGikIxECiSmIah vJZp+dI2uRqro5bel/gQw2gTJHPy6VLdL6VVhpn9zK/NVCPYoWzuof8fQR9KcCn1pIu35bmpsEJVP zcbhiguCxBN5dZ0UDClaD8nJ1QGQnMr5UhrBH2PAQB9T8SRHdZ42UR7ekhmDuEvGAIBS2P+3F9SYn DSUg77cTbAwzkByJ9flRSjVFzs+Xf8DKu2kihb8fN7r7FGoM28hKs1DeNcK25mBQXj92X+40aU+/d 7YUQn5zkVkeukTQL3w5Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHvNk-0005ze-3n; Wed, 31 Oct 2018 18:38:20 +0000 Received: from mail-pl1-x642.google.com ([2607:f8b0:4864:20::642]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gHvMw-00052d-UC for linux-arm-kernel@lists.infradead.org; Wed, 31 Oct 2018 18:37:46 +0000 Received: by mail-pl1-x642.google.com with SMTP id s5-v6so6011353plq.11 for ; Wed, 31 Oct 2018 11:37:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=amarulasolutions.com; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=gIRB5G3XsW3tJTCLvGiA9lY0I+P7n55uNj5h9NRT6WE=; b=ZXLZaI0+jRaO7bVSzpPu910lXuzCRg249Oq9+ztyHUz4KMyOsSzEimeCD3owzJWCMy 9sHkpfYZ0mpONOGqJddw7zPYfxTn+URuCUoyCZdOkQlS9zFSf/tXdALjxLsNsJySuM9i 9NJKRkn7iilOAMUbO6O3JTtgZdnVap/eN+5FY= 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=gIRB5G3XsW3tJTCLvGiA9lY0I+P7n55uNj5h9NRT6WE=; b=TP8rCdWeNuQEyFQsIs17Gjk/PsXPoU1VpmYw9mgCweczELjze3ptmCAXc30TG97hHQ A1o4ihHBBc6U0d20dE93hw3pLny9AvFivWaP4sgVikk9ohwO2T17bkV/qp1xGvhcyiaJ osMZmq0WBBT4KjKWt4xQSLDtP8o9qvcmUJN3+TEhjHmQRczII7PHveWDoKYBETNYn1PY ictTj+NGYYacBh1tRuP8Iv6K9IgO9dXt1ErUqmZAW1mThoF9oPUgqwaGp90BHiNP/v6M gzWWFmBlthd5d/PzhozixqNg2bmlxSmATNpBMMz3PWXwTfWyg9U5ReTmTdG3XtXJGzks 1MUA== X-Gm-Message-State: AGRZ1gJpFc0U9FKlUxSCZHDWaYFq6FYPyRvKPjPN4xHm9zEv4MnVf1WM 7yEKML1xxJEJJfiWgXPh6LDE9A== X-Google-Smtp-Source: AJdET5fivIN/NemrTnjIluz6pB0mzUySCyo847nvKJbACFGRW8iE9WYyxMcV/WTa1Sq68+++2Q2dxw== X-Received: by 2002:a17:902:be01:: with SMTP id r1-v6mr4384341pls.143.1541011040331; Wed, 31 Oct 2018 11:37:20 -0700 (PDT) Received: from localhost.localdomain ([2409:4070:221e:94ae:dc27:379e:a542:5441]) by smtp.gmail.com with ESMTPSA id 72-v6sm37165627pfl.126.2018.10.31.11.37.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 11:37:19 -0700 (PDT) From: Jagan Teki To: Maxime Ripard , Chen-Yu Tsai , Icenowy Zheng , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH 6/7] arm64: allwinner: h6: Add RTC clock to phandle 32kHz external oscillator Date: Thu, 1 Nov 2018 00:06:33 +0530 Message-Id: <20181031183634.29640-6-jagan@amarulasolutions.com> X-Mailer: git-send-email 2.18.0.321.gffc6fa0e3 In-Reply-To: <20181031183634.29640-1-jagan@amarulasolutions.com> References: <20181031183634.29640-1-jagan@amarulasolutions.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181031_113731_622102_37F6C535 X-CRM114-Status: GOOD ( 11.78 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jagan Teki Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP From: Jagan Teki Outside of SOC few chips need external clock source through RTC example Wifi chip. So H6 RTC clock node need to phandle 32kHz external oscillator like A64 RTC. Add support for it. prefix rtc- with clock-output-names defined in dt-binding to avoid confusion with existing osc32k name. Signed-off-by: Jagan Teki --- arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi index c8d2fe76da7e..028ec286aa0a 100644 --- a/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi +++ b/arch/arm64/boot/dts/allwinner/sun50i-h6.dtsi @@ -271,6 +271,9 @@ reg = <0x7000000 0x400>; interrupts = , ; + clock-output-names = "rtc-osc32k", "rtc-osc32k-out"; + clocks = <&osc32k>; + #clock-cells = <1>; }; r_ccu: clock@7010000 {