Received: by 2002:a05:7412:f589:b0:e2:908c:2ebd with SMTP id eh9csp68779rdb; Tue, 31 Oct 2023 00:18:36 -0700 (PDT) X-Google-Smtp-Source: AGHT+IG+ZJZewDDpIPkdGs1d9TVl3JkyfzCLXB2ToiXqNRIIbSkdIbj+0rGsZUar65Wgh+Hg2xy8 X-Received: by 2002:a05:6359:2d49:b0:168:cf01:8232 with SMTP id rm9-20020a0563592d4900b00168cf018232mr10076709rwb.9.1698736715795; Tue, 31 Oct 2023 00:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698736715; cv=none; d=google.com; s=arc-20160816; b=JQPoBlQtXHpQ3LihSbq+SZUta44VYN5ZmDtQ9rgeab6W6TcNDfCAWKo2+DST+gZ1am vPgCT8R3/5ngBGCgk/rvts1LyXdIZY7PLBjySkmm+P7pFt4jJYrpdadhN3ZB4tpd+0NF K8rmkEeS8WcmsZNeY6CF2dnxpGgD1KGZCpkU5XbnT1qwT4In4PWuOvW0DO+pSulcftQq 6tfvBei/TzgfurNbyP9FDukAUErcUXK5P6Nvd9ZbvQ5+UuxJ1GAQ6lilvpAUBu6gJ/Uc 5O1aYvwp41+xMEKNaYGuAB21l5ES9Nk4yKj20c8IgmALFriqlGwPIU2bIOj62utqHOly xLwg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:message-id:references :in-reply-to:subject:cc:to:from:date:mime-version:dkim-signature; bh=4h3aLMmXzA10y1v5ebuMyoxgp9dCaVHvDTmr+dfZvOc=; fh=/rMlSG4Vbij+Tu4gTn5mVdVsKx09rgYvimG8r6z/dCw=; b=mis7wDXj8QRxgD/3TVmtj++ZJqXQvHl+ByFY87Iutf5kG3JKXiKn7WXOO5lgNlrQsa 0gSK4BzuRhR04qjtiIIPZ1N6AQY8nMHEs1u277jWKgUOME+uHAYRI6pKdfoIaXNp7vmx b/s/M8afOUfpWNRLWHt+qV7vg2UIgbFnK8MdicVu8+Y33Pbdk82XJIJvd8TA4r/CLFJd uHwLpmm5Ld1SOO8Op2FFtvLPQAZfqlZeCmOE6vgpwpF4pQfPaEjM3fZU8y7OpgS/7HSv ktqRGZIDSt44UidQeoUi06DZY/O4sU5oLgZ0EKOivvtVa/3MaP5Dz1GJZajQ3mWaDGaZ /Nvg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=s5lauFYU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id o13-20020a656a4d000000b005af44ed3142si664414pgu.413.2023.10.31.00.18.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 31 Oct 2023 00:18:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@trvn.ru header.s=mail header.b=s5lauFYU; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=trvn.ru Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id E7FDF80B9522; Tue, 31 Oct 2023 00:18:32 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1343523AbjJaHSY (ORCPT + 99 others); Tue, 31 Oct 2023 03:18:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36036 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1343603AbjJaHSW (ORCPT ); Tue, 31 Oct 2023 03:18:22 -0400 Received: from box.trvn.ru (box.trvn.ru [194.87.146.52]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C14F8DB; Tue, 31 Oct 2023 00:18:19 -0700 (PDT) Received: from authenticated-user (box.trvn.ru [194.87.146.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by box.trvn.ru (Postfix) with ESMTPSA id 2A8D84140C; Tue, 31 Oct 2023 12:18:11 +0500 (+05) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=trvn.ru; s=mail; t=1698736692; bh=xnyRWdL+NdKNQmT5h3gBkSuEgvXkNp1V2Sk1J7cHl3Y=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=s5lauFYUlfv9MNE4zi6/ThT/z69ngFC1oupMRy7Yz3R/DPrb2Y5M4pDOqCskY3igK 8J+gdc4BXEyDkh6nsWvtrn/FC5X+EtIpsJ3dycb3mNL99NEuToOg8D3SD99XqUrBH4 kOXH/LJUrhls/MtxkyQfs17W/I6k2CClZBkvFnIsDLg1Ttdb7B1iOOAYLFBeT38msG kGrA/jB+3K3xeGV+HFxuHxZEMDPGTGh0D2+xve5pd5cvC3Jwp3vrggCZTcPuGNFOyK QhJIDZxf86rhpLNFcuK/ZHT3Oi+jvn8vlODMqcVKeHwO74khnBxQq7buHJABnQ+Dac qsaA2RHv1XUfQ== MIME-Version: 1.0 Date: Tue, 31 Oct 2023 12:18:08 +0500 From: Nikita Travkin To: Doug Anderson Cc: Konrad Dybcio , cros-qcom-dts-watchers@chromium.org, Andy Gross , Bjorn Andersson , Rob Herring , Krzysztof Kozlowski , Conor Dooley , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/3] arm64: dts: qcom: acer-aspire1: Enable RTC In-Reply-To: References: <20231027-aspire1-sound-v1-0-5ff3cf8b5701@trvn.ru> <20231027-aspire1-sound-v1-1-5ff3cf8b5701@trvn.ru> Message-ID: <9157b1f2ffc28f00da4d40b1baedb4b9@trvn.ru> X-Sender: nikita@trvn.ru Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on howler.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Tue, 31 Oct 2023 00:18:33 -0700 (PDT) Doug Anderson писал(а) 31.10.2023 02:55: > Hi, > > On Mon, Oct 30, 2023 at 2:47 PM Konrad Dybcio wrote: >> >> On 27.10.2023 16:42, Nikita Travkin wrote: >> > pm6150 has a read-only RTC that can be used to keep the time with some >> > extra userspace tools. Enable it. >> > >> > Signed-off-by: Nikita Travkin >> > --- >> Reviewed-by: Konrad Dybcio >> >> kinda unsure why it'd ever be disabled >> >> Konrad > > FWIW we don't use the PMIC RTC in Chrome boards. I can't quite > remember why, but I _think_ that the power lines aren't hooked up to > the PMIC to keep power on for the board's lowest power states. > Instead we use the RTC that's on the EC (Embedded Controller). > When it was submitted, I suggested to keep it disabled by default because of the firmware mess qcom has - the rtc is set to read-only and if one enables it on cros without allow-set-time; and validating that qtiseclib doesn't block it too, it would likely cause issues by taking devices back to 1970s :D Nikita > -Doug