Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1123247pxb; Wed, 29 Sep 2021 17:57:25 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG2iFGZ5oSN7b8zLfER5n+kE996GLF1XcZiBRcVQHmaz1seMS5x1JRAulLHYfmfioVHtk+ X-Received: by 2002:a17:906:3f90:: with SMTP id b16mr757234ejj.432.1632963445702; Wed, 29 Sep 2021 17:57:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632963445; cv=none; d=google.com; s=arc-20160816; b=HyOrN6XfSnPQ8uIq2d5EIkgazDaXWgYSmxGwUlw7qPSXiwNNNaGVQNgxOzLFywRpgS XQynovPpt8e+DYM8DObJZSWeCMRgw2zq+WESQPPpP5Tgw6rMq8yXm+7gdhGgqLN0dL/h UFQjsUUpPgfsWkQtMbNOzqSQxKkP431r+PZX15r5zo/MSnpwCAff6952g4iY77W4XMZi 9VG8iXx9jnT6tZ+K9TwTIJ6ovi9NXXjmsDy+QpseizxbO5vfIj57DJgIIILsZrKJj4TM HyZH8L6L7VhsacwDuyLPcRMX/fwPzQK0o5ucXU58MEm1HJwIOY/EuNtpAZQsP5Wg+bAy k4og== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=HvaI2CnuZMRocUAuxkU7bar+LZuGwxIpo51W/3LktMo=; b=veZq7KeseHg+hyRR39ueaEdnbtmLwB3+tG05yyIoyPEXJmkCI6dDXxePVm+s4/DbyJ 5XfqA654V7NNUs8JM60Qk1kasn3PP940+jZe/tPdO/Hoeh2yyqEL2LFMd49qOjxgTs1j 2SVnX3unzV8CpmqPWfjvrbdQc5MQf0vZG1w74t5HiJatk6OREVdLn3nn+Ak8GPH+Iszb 1mMspzOGODW20/eyAhKxCq+Dh6NIpBXoB2cq0/vjSZBWPaMLfF+b87mPOR3vk5ZG9gRw 2xbjEsGyErXl0E7NQQ9mtex3QGhFanSNaMIJ42n5odRw8xPmQpw5u18K/mFQq5kR0psE MKBQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=IzZJtmb6; 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=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x16si1785457eds.492.2021.09.29.17.57.01; Wed, 29 Sep 2021 17:57:25 -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=@chromium.org header.s=google header.b=IzZJtmb6; 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=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1347605AbhI2XiI (ORCPT + 99 others); Wed, 29 Sep 2021 19:38:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57162 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347598AbhI2XiF (ORCPT ); Wed, 29 Sep 2021 19:38:05 -0400 Received: from mail-pg1-x52d.google.com (mail-pg1-x52d.google.com [IPv6:2607:f8b0:4864:20::52d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 34803C06161C for ; Wed, 29 Sep 2021 16:36:24 -0700 (PDT) Received: by mail-pg1-x52d.google.com with SMTP id s75so4355893pgs.5 for ; Wed, 29 Sep 2021 16:36:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=HvaI2CnuZMRocUAuxkU7bar+LZuGwxIpo51W/3LktMo=; b=IzZJtmb6XxyCwoSIO0qgrnxryeU2MYm1rpNv/ndfOQDtKcsnWAMrW4mZ3WsKGl/aG+ poBzt8xkzTPqt9azAVAO934HmwF8/0mnwV7qSaOADaUnNbiyuagGu6yF1uxWkp5L+eeF vycTIH5/Xt8zjyHBmEpdDpkd64hX72U3gbFxc= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=HvaI2CnuZMRocUAuxkU7bar+LZuGwxIpo51W/3LktMo=; b=klqOeTcULmB86K135PeB22kCdaKsx+ZOl9ZOBblLxG4mu/oGrMWvRuaMqVX/dAd98A DvGoL/dYhYKSDRGCKB7s0Ul35g0/mnY4WRJdIF2m1sjDE8DNCQJY0CJ5DP4r0PQDEL5Q TgfgeDfpD7gpprBtyzqCAUscxfDqxdwXcaMSS+dyVA+OqIqe040IOTf7JMPj6Cnj4hhi sMs9/8PmBh119b3EQ0XwTSCg7ZugxEiLjRpKa/QQX7BDsRDora8pOiIXn61/pMxL87ze Ba490OlIQMGge7QcrHCvGmb62liwKKiiq4G0f2XDPH17zXz9qPBRgosY6jxU+CGNE9Lq /i1A== X-Gm-Message-State: AOAM533Sf14HWFcmiPmlI8dRvBYjPaZJ0ioddswfhC92OYycV86f192y iUFxLN5LwFYAwwbxZdj1ZXjTtg== X-Received: by 2002:a05:6a00:22cd:b0:43c:9b41:e650 with SMTP id f13-20020a056a0022cd00b0043c9b41e650mr1189646pfj.60.1632958583660; Wed, 29 Sep 2021 16:36:23 -0700 (PDT) Received: from localhost ([2620:15c:202:201:2f10:2763:4825:1f01]) by smtp.gmail.com with UTF8SMTPSA id p16sm2949687pja.24.2021.09.29.16.36.22 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 29 Sep 2021 16:36:23 -0700 (PDT) Date: Wed, 29 Sep 2021 16:36:21 -0700 From: Matthias Kaehlcke To: Douglas Anderson Cc: bjorn.andersson@linaro.org, vkoul@kernel.org, swboyd@chromium.org, skakit@codeaurora.org, Andy Gross , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] arm64: dts: qcom: pmk8350: Make RTC disabled by default; enable on sc7280-idp Message-ID: References: <20210929153553.1.Ib44c2ac967833d7a3f51452d44d15b7b8d23c1f0@changeid> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210929153553.1.Ib44c2ac967833d7a3f51452d44d15b7b8d23c1f0@changeid> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 29, 2021 at 03:38:14PM -0700, Douglas Anderson wrote: > The RTC on the pmk8350 is not useful on all boards. Some boards may > not provide backup power to the PMIC but might have another RTC on the > board that does have backup power. In this case it's better to not use > the RTC on the PMIC. > > At the moment, the only boards that includes this PMIC are sc7280-idp > and sc7280-idp2. On sc7280-idp I'm not aware of any other RTCs, but > sc7280-idp2 has a Chrome OS EC on it and this is intended to provide > the RTC for the AP. > > Let's do what we normally do for hardware that's not used by all > boards and set it to a default status of "disabled" and then enable it > on the boards that need it. > > NOTE: for sc7280-idp it's _possible_ we might also want to add > `allow-set-time;`. That could be the subject of a future patch if it > is indeed true. > > Signed-off-by: Douglas Anderson Reviewed-by: Matthias Kaehlcke