Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp59707pxb; Wed, 29 Sep 2021 21:07:42 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxc4nlUYBf9p2BQU0RnvwLdt2w0uf7NA1S24m1DxO1YCNJXOeINn6xYe6biGEk55pWn5iNh X-Received: by 2002:a17:902:e549:b0:13e:249d:1207 with SMTP id n9-20020a170902e54900b0013e249d1207mr3442570plf.46.1632974862255; Wed, 29 Sep 2021 21:07:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632974862; cv=none; d=google.com; s=arc-20160816; b=nkBQzU1T/PACSU0qssNMpHTJHVKOWhYIeUAv8+yUzVZOwpXXfeuAqVGM2x5dZG9D2q 3Q3BgTqOERmF2W9UzG7f2cJB2t0YWsFJrgIV9tIQJflMyUE+8qbmW+mxJz+LAot3F9er jLyF2mSGotZN7paKuVJ7DinZ06QT5KraWQTIQnlHdKl+BuXP7WK8Z9xmHJisazvvA8L4 jgk7gbR1hag8a1noq8vQWlYWQ1cLA4HNlzhKnExCIDRSJkcVM5m3BcG+EdJE386Ecfqs gH96RJjJJwkGESl+zVtazO6aI/TzzhtzVBr4rGo6A4zgv2qZlljQgylj3ydI7+Oe/Oxv +Smw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:message-id:references:in-reply-to :subject:cc:to:from:date:content-transfer-encoding:mime-version :sender:dkim-signature; bh=0fT3aNKXsrBX4t+tHvtMz9qUHFpaZPC4Ksn3XbXKe6g=; b=iJKX/8cZE81F3HnTf5jPZwyf+Q+AFf/Alb3Hrr+D8yvodHBEIB5eyRi3Ew3ZnXELWJ 6lrBHD1AduvkLqcutZAyq1DGDHIJIf/ZxnIvFmsXA13mcQBnS1oiRI/sTQ/amcK0Mxxk FAqQKmyf+/IkQWETCrDqEVqAePxNYynpJaDsBku+x916F4tlu4SafIRMGhsl/W+hSiEC 9CfVYdaP1YqIK6s8hTQan6XrutE54tWlAXujMKIxrmgi69TyX7S2zsaJTWRE2NdwxDvs EdFuRzguIbXeYPWuy0BG7YqOowLrf9Hr2Hx8iD0sGTUult3IqjDO43oPW0ycfu8p5G4b jCmQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@mg.codeaurora.org header.s=smtp header.b=ruc+jp4H; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x1si2827613pgu.124.2021.09.29.21.07.18; Wed, 29 Sep 2021 21:07:42 -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=@mg.codeaurora.org header.s=smtp header.b=ruc+jp4H; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229512AbhI3ECq (ORCPT + 99 others); Thu, 30 Sep 2021 00:02:46 -0400 Received: from m43-7.mailgun.net ([69.72.43.7]:20693 "EHLO m43-7.mailgun.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232042AbhI3ECp (ORCPT ); Thu, 30 Sep 2021 00:02:45 -0400 DKIM-Signature: a=rsa-sha256; v=1; c=relaxed/relaxed; d=mg.codeaurora.org; q=dns/txt; s=smtp; t=1632974463; h=Message-ID: References: In-Reply-To: Subject: Cc: To: From: Date: Content-Transfer-Encoding: Content-Type: MIME-Version: Sender; bh=0fT3aNKXsrBX4t+tHvtMz9qUHFpaZPC4Ksn3XbXKe6g=; b=ruc+jp4Hu8r5il3ZjHX2Ot1WOKce/P3oRLwiOaKSuj4GsogrlC0JaNvgURzqzquWeaiwU/yC JArLlmcTgmTtatszENq/thh5Gx+HlrC16/vLNkHaQyM6B2gtCd5BAaMj0E2/L204Q9iZaV3u eoSqNN02+yKc4LlEHy7vqDJP/Hc= X-Mailgun-Sending-Ip: 69.72.43.7 X-Mailgun-Sid: WyI0MWYwYSIsICJsaW51eC1rZXJuZWxAdmdlci5rZXJuZWwub3JnIiwgImJlOWU0YSJd Received: from smtp.codeaurora.org (ec2-35-166-182-171.us-west-2.compute.amazonaws.com [35.166.182.171]) by smtp-out-n06.prod.us-east-1.postgun.com with SMTP id 6155366a9ffb4131490a2467 (version=TLS1.2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256); Thu, 30 Sep 2021 04:00:42 GMT Sender: skakit=codeaurora.org@mg.codeaurora.org Received: by smtp.codeaurora.org (Postfix, from userid 1001) id B1295C43617; Thu, 30 Sep 2021 04:00:41 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-caf-mail-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=ALL_TRUSTED,BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: skakit) by smtp.codeaurora.org (Postfix) with ESMTPSA id 22C8BC4360C; Thu, 30 Sep 2021 04:00:41 +0000 (UTC) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Thu, 30 Sep 2021 09:30:41 +0530 From: skakit@codeaurora.org To: Douglas Anderson , bjorn.andersson@linaro.org Cc: vkoul@kernel.org, mka@chromium.org, swboyd@chromium.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 In-Reply-To: <20210929153553.1.Ib44c2ac967833d7a3f51452d44d15b7b8d23c1f0@changeid> References: <20210929153553.1.Ib44c2ac967833d7a3f51452d44d15b7b8d23c1f0@changeid> Message-ID: <86b0d847ddf06c1b445f3dbac9c771a9@codeaurora.org> X-Sender: skakit@codeaurora.org User-Agent: Roundcube Webmail/1.3.9 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2021-09-30 04:08, 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: Satya Priya