Received: by 2002:a05:6a11:4021:0:0:0:0 with SMTP id ky33csp1095705pxb; Wed, 29 Sep 2021 17:09:45 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy1+jaPua/YzJ1P+Fs/LudBeQHxLMgPWJHf7BkGOf0Xl8hzDRKRqRy07bI7moyQm8iKIwCj X-Received: by 2002:a50:da85:: with SMTP id q5mr3460772edj.300.1632960585483; Wed, 29 Sep 2021 17:09:45 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1632960585; cv=none; d=google.com; s=arc-20160816; b=QDAI6w+VHRqMA2bGPuCSZzwzECz2pbOoGK9lQle8wpB7ib3pKqfItJ1cthFsKHo8BI ZOspYikoDS2Qq7JL3qIaplqQIb+RNRQvBdPHp1M02ImD61GMU79y3TNY6FLBMKGpGqU4 wGTSMzkW1puFsduTU3BP2tiDeggUjpDIWw8zm/4J3uPNDU3DUHN2qiLwL0cnS2HSP7x7 rrB2ohXl0YeTH2+LYKIkSDkJ9L7szQmGXVzCuYUoS8IXb4UEmSodpz9Bzxg2XGMn9WTB AJP+cM8RKcA88IgR+b1ugj64TKtSDAqBuIdDe7TfRwdzPMgmhxDYPjnhMBFAe69TgHAc 75iQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:user-agent:from :references:in-reply-to:mime-version:dkim-signature; bh=4OM7fi2cMvcLgh5ivBuxZIPAp/b12WncuWucyr2GmQs=; b=uctPSxmPiPsGD02WZTzek7+vRWQBPJhp6rq/w2rlp66Hvc46EPVMdYa1vXxYCyp9Jm EYZ6p9VzS+uQrdMTVDwLN1PmKj1ZRqDVhBWLtJltAw1qzmZ/sQqKMQPscnEs6YVvkRgS K7/zThunVlirxCHUj0Jg4ecZgO8pg595EJryADG/cv11UtqRgN/LX5XhihrBGSYC5Dfj VcC8rSWrXOYHChdLoUZg+tyn5YAS8d5cjNivD0Xzu7RBajSSCFUCbn70YHR9My68CoRP YD1Eb8t3fkjFRMB3uHq2JgtLud4yZwqXQ3PxR5B9HqBmFtAdqzta5uOVN4iJUh4tGQks ZX3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=iqP7gvo8; 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 bf27si1568058edb.446.2021.09.29.17.09.18; Wed, 29 Sep 2021 17:09:45 -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=iqP7gvo8; 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 S234481AbhI3AEr (ORCPT + 99 others); Wed, 29 Sep 2021 20:04:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231238AbhI3AEq (ORCPT ); Wed, 29 Sep 2021 20:04:46 -0400 Received: from mail-ot1-x331.google.com (mail-ot1-x331.google.com [IPv6:2607:f8b0:4864:20::331]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7B035C061769 for ; Wed, 29 Sep 2021 17:03:04 -0700 (PDT) Received: by mail-ot1-x331.google.com with SMTP id j11-20020a9d190b000000b00546fac94456so5083174ota.6 for ; Wed, 29 Sep 2021 17:03:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:in-reply-to:references:from:user-agent:date:message-id :subject:to:cc; bh=4OM7fi2cMvcLgh5ivBuxZIPAp/b12WncuWucyr2GmQs=; b=iqP7gvo8WHZ1YKDuQeX9H2LJrvOm/jZGdTT+9AYiMcDG4cWINHWenITwqhjXlAVdy5 HXaiW/gfMMc3DFaKRE9Hhj2G6SPuEIXwuh5h+M6tvAzDCAZ8vOW1fw9lRQ0acZNPvV95 PqQYlWd81ixtOWRSvl96o09QE4YiyPg0DYBXM= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:in-reply-to:references:from :user-agent:date:message-id:subject:to:cc; bh=4OM7fi2cMvcLgh5ivBuxZIPAp/b12WncuWucyr2GmQs=; b=kFsCFDKCtcdtPzBpI+Jrw61d9I75xwRu/mhCBzXzX/MPYoSv2pUwADAVH45GyDto8Z 3o9lL9v2Kqdwfdc+EuG34IL+7vyd8CFZ99+it6Sb1iy7Abf02kYogGUxZ4J6WAYfDdRE KHNjMONtO6VMAuao93S3lpnSC89a8t9jLZxH9dDfuH2aC1sbF0oLXGy/5MIsIzosh/UO 8ga/0e6A2nmCahWZXSrxtYm3PQwnTVufzaX1Dc8sQQy+1YQPLjgY9zaKvq940Eb27wyD lEKcnnVuw/7o/BGpTW6QC394tpb+URpupW8aUwinNdfU4PTYLWmnB3c9503Ei0PBBkUL mlgQ== X-Gm-Message-State: AOAM531Ggpc+QTAz9KHwwgClZu7KMtJeKI/3PAdcRDKyu5knkPB2SDtV eadhrL33lNBVVsqtBvH4vkc7EjTCb2Er5jazuTqgjg== X-Received: by 2002:a05:6830:358:: with SMTP id h24mr2305672ote.159.1632960183868; Wed, 29 Sep 2021 17:03:03 -0700 (PDT) Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Wed, 29 Sep 2021 17:03:03 -0700 MIME-Version: 1.0 In-Reply-To: <20210929153553.1.Ib44c2ac967833d7a3f51452d44d15b7b8d23c1f0@changeid> References: <20210929153553.1.Ib44c2ac967833d7a3f51452d44d15b7b8d23c1f0@changeid> From: Stephen Boyd User-Agent: alot/0.9.1 Date: Wed, 29 Sep 2021 17:03:03 -0700 Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: pmk8350: Make RTC disabled by default; enable on sc7280-idp To: Douglas Anderson , bjorn.andersson@linaro.org Cc: vkoul@kernel.org, mka@chromium.org, skakit@codeaurora.org, Andy Gross , Rob Herring , devicetree@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting Douglas Anderson (2021-09-29 15:38:14) > 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: Stephen Boyd