From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 7E325C432BE for ; Sun, 25 Jul 2021 06:18:29 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5AD0060F13 for ; Sun, 25 Jul 2021 06:18:29 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230119AbhGYFh5 (ORCPT ); Sun, 25 Jul 2021 01:37:57 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53294 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229460AbhGYFh4 (ORCPT ); Sun, 25 Jul 2021 01:37:56 -0400 Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28312C061757; Sat, 24 Jul 2021 23:18:26 -0700 (PDT) Received: by mail-ej1-x62c.google.com with SMTP id he41so10229942ejc.6; Sat, 24 Jul 2021 23:18:26 -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=H84xqmHa11HAMqr9XluZ8mJDnlXU0Q8/GhOSAy8zvbM=; b=cmQOMOf2zHkdTV4I/WOFI3ckqJfmc0ANzqy+eZw5qW+Nt6w8J1fEHJOxe4RHIbuXAR 2tWnXZMKI7qcJdKAJeLBtnqFveIzRAmW5Dq8+RSzHTWCtkqA9XQYdOS88imW/BIYt2x8 nNMOeNSwJJVdz5e6ADwVsy7rSWdbW73lRwbz7x8oxQxrL8JrxXcD/jYy/AOcC58KZqmJ KDeGPw3KhZDFvLIyETypvOJ9vF2Jx9iwuyIIRBSglTHdDjVc9h1zKkZo2tIyllDz/mdH uCV9iMU6SBDknoDJlE0lhEqOMGi7jsSsPO5tSWlIuFIagF3osnOtT7iU/kVmTtkIndX5 aoog== 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=H84xqmHa11HAMqr9XluZ8mJDnlXU0Q8/GhOSAy8zvbM=; b=RlVx2PqDb7OJatqZDLpAxA3fYUCUHS244bs2VBR++WWT/gfDf2/DO1I3Evp9LFxrLe 54BuQUw2HXNv5tJNcHlqpsmDb5PEHq6ysATjfeLJ74gqKgL3zxqcyv7/BZQ/9nYSZ8f4 XUJLhkzVKRSbPyNSPVh93ppJukt4snxFXzT+zBxwaLfX2EbhkWg3ATmfsRcHttR0f9jb uYxznZJnBdhFvkRLKyGKIg1SZ3H02Je2VboetYnOXRS39Lc+4LgOS9A+8udJFQniW0IG tbQnLY+o6pDYeEaa32VRDeiTlfMm6km9cFlWCdnocvHhw2xgDZiPNEgf4IiWY5IMJges cShw== X-Gm-Message-State: AOAM530gU7Aqy8P62YGn3vB585yShmvfi1vDRT1sE08PIZdp+9hzxANO arpCbqjZSkEfUsYVNlEhbvE= X-Google-Smtp-Source: ABdhPJxmktaNZZWpA+AkVzso45vOYilURFR4DO15pvLqar0nqql5+tqf/hzTtJ+kgzkAffPjCdcAuw== X-Received: by 2002:a17:906:58c9:: with SMTP id e9mr11821418ejs.144.1627193904701; Sat, 24 Jul 2021 23:18:24 -0700 (PDT) Received: from kista.localnet (cpe-86-58-46-198.static.triera.net. [86.58.46.198]) by smtp.gmail.com with ESMTPSA id ja13sm13028177ejc.82.2021.07.24.23.18.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 24 Jul 2021 23:18:24 -0700 (PDT) From: Jernej =?utf-8?B?xaBrcmFiZWM=?= To: Maxime Ripard , Chen-Yu Tsai , Andre Przywara Cc: Rob Herring , Icenowy Zheng , Samuel Holland , linux-arm-kernel@lists.infradead.org, linux-sunxi@googlegroups.com, linux-sunxi@lists.linux.dev, linux-kernel@vger.kernel.org, Ondrej Jirman , Alessandro Zummo , Alexandre Belloni , linux-rtc@vger.kernel.org Subject: Re: [PATCH v8 06/11] rtc: sun6i: Add support for RTCs without external LOSCs Date: Sun, 25 Jul 2021 08:18:23 +0200 Message-ID: <3166830.bveH9cQ5e6@kista> In-Reply-To: <20210723153838.6785-7-andre.przywara@arm.com> References: <20210723153838.6785-1-andre.przywara@arm.com> <20210723153838.6785-7-andre.przywara@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Andre! Dne petek, 23. julij 2021 ob 17:38:33 CEST je Andre Przywara napisal(a): > Some newer Allwinner RTCs (for instance the one in the H616 SoC) lack > a pin for an external 32768 Hz oscillator. As a consequence, this LOSC > can't be selected as the RTC clock source, and we must rely on the > internal RC oscillator. > To allow additions of clocks to the RTC node, add a feature bit to ignore > any provided clocks for now (the current code would think this is the > external LOSC). Later DTs and code can then for instance add the PLL > based clock input, and older kernel won't get confused. > > Signed-off-by: Andre Przywara > --- > drivers/rtc/rtc-sun6i.c | 16 +++++++++++----- > 1 file changed, 11 insertions(+), 5 deletions(-) > Acked-by: Jernej Skrabec Best regards, Jernej