Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp3410339pxb; Mon, 18 Oct 2021 14:48:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwwqITOpslubo/XF0BlR8Ulm8iZE8rmUJVel9AeAdId4/1wNVifxLEnX1I0SV2cueXpOQhe X-Received: by 2002:a17:90a:c86:: with SMTP id v6mr1686312pja.149.1634593697773; Mon, 18 Oct 2021 14:48:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634593697; cv=none; d=google.com; s=arc-20160816; b=aCOlDjhu62WM2JlwTcEX7vXZBwnN2N/dq7nwF294o+++lQjGu+9bbXMKeeJUtjIh3w j9djzO1cJDyvGEzH30LP8c9Lc0FOz85aktB4o3Uf8fEHjdNp+raONa1qoxNfsVN57aP+ hFkPGHKgP9RPcKKV/76ujKA5U7pPb3rv5i3bGGZtJn9CdaVbB3dxipIaRgwS++26CyVW WJVHxH/UNYmb3qfxE0RD1g8S9SSVGU777Maf3G+/kCoLcE9I2UzyysSqY2yrwfv+zyRY Lgt/Yxhn7rWLuL1TohA5fAw4Xdr8O6HS5NJdVOYx53MkmMfRPaOhy+zooWOygxPMF/lV IN8A== 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:from:in-reply-to :references:mime-version:dkim-signature; bh=3kxxjnpajnLan+DlWscaEGHQpNRH8oNyJjc2GZj0gis=; b=txYo/qsjxf5VhkcqH4qYxWSRpbRfTTnopQu5xVkUDAiVAip8ypproo0YafKpEuqLQB EGUPaDsNaFb6HQzR+1y4s7FPrxam+MSsFksa7ORSrBIWnf5dQMzpaOD3Z90A8ThrhtDT d6nA3gxD82OH9wwQAAqBMprUKBEmCpox8EO1sCT7rfM1b7pD4Wobi3AzWz6BYXHeCzhs dsHz06S1OiMUpvpeO/biFUAIqzAAqJmbMA5G/TjHR9GDj2whPnHwJEOmjtB7Pe+44sgm Q2xm5eZEqIeEwwDFp29BjoB3fy/H7CdjfJnaV06khOnrjPGwUe4GmYVZ/Mp0AlBWn31P O7sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=eVEgfnxf; 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 d15si20287495pfd.149.2021.10.18.14.48.04; Mon, 18 Oct 2021 14:48:17 -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=eVEgfnxf; 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 S232641AbhJRVrg (ORCPT + 99 others); Mon, 18 Oct 2021 17:47:36 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36042 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232292AbhJRVrg (ORCPT ); Mon, 18 Oct 2021 17:47:36 -0400 Received: from mail-qk1-x72e.google.com (mail-qk1-x72e.google.com [IPv6:2607:f8b0:4864:20::72e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 91A94C06161C for ; Mon, 18 Oct 2021 14:45:24 -0700 (PDT) Received: by mail-qk1-x72e.google.com with SMTP id h20so12257182qko.13 for ; Mon, 18 Oct 2021 14:45:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=3kxxjnpajnLan+DlWscaEGHQpNRH8oNyJjc2GZj0gis=; b=eVEgfnxfaUdhUt/5YAtildIbe5oHbAKEh2BmfIwqcuqjFoffearSCUtT79nGI4rdny xM4+Vk5sK+Hk7aIQfB39mybUcxEQZB4upapVT+dLCf8KEq8j4//7IxbgcbVHmYRwuzr9 AcGwq32NRkvvyyhmcIRJT2Pzydz5IGG6NOXfs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3kxxjnpajnLan+DlWscaEGHQpNRH8oNyJjc2GZj0gis=; b=FE4JqeTKKsZw5X94oQLFXNyQ8pEcJDrxuza+rS7uGoi69YIhqhXq3Rsgk12mkureqO xkloV/hesyPBzF+bX/0VkFfLyGfEbq/VZkbQfr8HSAz0Qp5GFpb506GQo0IIck5D7TqY GywgoI/2JzeOtzUL/O8L0leMKFHpNuf9k6QJfRGqZHKkFq+eJj3KwH7ZcASEqhxyUeE1 /TYyKWcqyO3ry/Ilt47g0sIgNEn1CGJtk4VSuzuK0JSGpnlD3ad3kug3ZJFfQYhMa0GI vhRJSKQzsl6zDP+He7q1TtBvfWeKnUoKBB56TwPSmPhEmrc7hUXRip73Xe4XWQU71vJB bfgg== X-Gm-Message-State: AOAM532ifURIR9SjOMyqlluXP+POcfoGjOjN/+GvKIrjHONpRrhIXemS gjO9HMBgrosKfKm6mz70Y6H8ccGBJ7Vppg== X-Received: by 2002:a37:aa43:: with SMTP id t64mr23382653qke.233.1634593523639; Mon, 18 Oct 2021 14:45:23 -0700 (PDT) Received: from mail-yb1-f172.google.com (mail-yb1-f172.google.com. [209.85.219.172]) by smtp.gmail.com with ESMTPSA id 9sm6962663qkn.84.2021.10.18.14.45.21 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 18 Oct 2021 14:45:22 -0700 (PDT) Received: by mail-yb1-f172.google.com with SMTP id t127so5450164ybf.13 for ; Mon, 18 Oct 2021 14:45:21 -0700 (PDT) X-Received: by 2002:a25:bdce:: with SMTP id g14mr31388284ybk.352.1634593521482; Mon, 18 Oct 2021 14:45:21 -0700 (PDT) MIME-Version: 1.0 References: <20210929153553.1.Ib44c2ac967833d7a3f51452d44d15b7b8d23c1f0@changeid> <86b0d847ddf06c1b445f3dbac9c771a9@codeaurora.org> In-Reply-To: <86b0d847ddf06c1b445f3dbac9c771a9@codeaurora.org> From: Doug Anderson Date: Mon, 18 Oct 2021 14:45:09 -0700 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH] arm64: dts: qcom: pmk8350: Make RTC disabled by default; enable on sc7280-idp To: satya priya Cc: Bjorn Andersson , Vinod Koul , Matthias Kaehlcke , Stephen Boyd , Andy Gross , Rob Herring , "open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS" , linux-arm-msm , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Bjorn, On Wed, Sep 29, 2021 at 9:00 PM wrote: > > 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 If you're still accepting patches for 5.16, it'd be keen if you'd consider taking this one. Thanks! -Doug