Message ID | 20230126142057.25715-21-johan+linaro@kernel.org |
---|---|
State | New |
Headers |
Return-Path: <linux-kernel-owner@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp298310wrn; Thu, 26 Jan 2023 06:27:42 -0800 (PST) X-Google-Smtp-Source: AMrXdXvxKKgmF0/J+kejwrlT/fckh4aPBOduO7rVYgeakvHQtA+L9V8i4PIIv5VA0KJTWTRuIzUn X-Received: by 2002:a05:6402:40a:b0:499:1ed2:6456 with SMTP id q10-20020a056402040a00b004991ed26456mr37778682edv.22.1674743261933; Thu, 26 Jan 2023 06:27:41 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674743261; cv=none; d=google.com; s=arc-20160816; b=UnXMJ6Plrn7A+bexKv0zP48cg82IQJS5fu8W2ALF35KkLIy8sfnZBRBMYsw6nvKQKA tmAeZbmWTqsIUhsk/3So+tRCEwpfLFRNNmTJN0NgQaBWunHu4f273n9f5d/aJAK8KXrn hmv9DoHaTRwP4fZh6gsGr3QzasEBeSy0UCkRHCS7WDWCO/wEJmycubpYNuHDTWYskwGl BExqoE7J+0c+jD/RGXCMW+M/19qIcKujLhuW3kOkZijSmBs0/mX6jAePyJTvj50Si/XF mWCWTB92bEts0YG3khnn3ywMdJIJ8hGagpkqNwPWhwnF/USn5dwxkMmwtGh6E7DQ7P2A 70+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Ta2GnRIpceh3RMeKWUnCPT54ijI858R0e6dCexk4YbQ=; b=ysnOnLltZB839QCdQanLMU+fokjFw+5odTGCiBloMtqf8+4wheHGESt3YOtKbZxOh8 5wWUtwdSKc51v22kTAdjZIvoz6ReJXlKf7IWgDsTrRJE5uKM14367V1JjVXQakz6tluz 4ulDkK5OCJkUDJWO1k6dHfewEXpvCQ/7QSajUkmGAaCPNxySCOCOokwfbPfQeHhKtqMY jIuwCdpRM03N3D4/ELLFCtNCPDN499ppq4Lt1W3WgPVMvcVfyq6+XmTEaJoiQkq4Q1ix aNhR6pUYGQOS9qRwr5QOoyUg1ZntB7mJbuiIc+Ff+HauqhlmyvOgySiCOzjJoMyiKseX SIog== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QvboQJsn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id f7-20020a056402150700b004a0912d723dsi1932714edw.264.2023.01.26.06.27.18; Thu, 26 Jan 2023 06:27:41 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=QvboQJsn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232195AbjAZOXo (ORCPT <rfc822;lekhanya01809@gmail.com> + 99 others); Thu, 26 Jan 2023 09:23:44 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56328 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231877AbjAZOXC (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Thu, 26 Jan 2023 09:23:02 -0500 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7DCDF18171; Thu, 26 Jan 2023 06:23:00 -0800 (PST) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 8F3B86184B; Thu, 26 Jan 2023 14:22:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id DDEB5C433A4; Thu, 26 Jan 2023 14:22:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1674742978; bh=Vi//U5VEBM3SVbBW52EARl3dF8z9tulSGPpETR9FMoo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=QvboQJsnw9W5Az8/y6ZX3N1z7MLhys4c75QZLpAKqaPMvSGvvG5Y2JCkFGSu+XV6b A0W4jE/AlWm6UD/BgRBDfx/yXW9SWrtJeByHgbAD8O2IvO7nl0SCdLjhSmozLvK3nH leLoLQ5QLSEEbkwuSk0Mkzalp0uBeXeOJ9fQjRZKzchMQVXbJnzHWVJ456QfJMxyUS wVVbLlQOZJu3TOctULEK9Na4Vu8Fv42cUTrPFcYCLXHe3FyKQdB+UbIJbXiCBl5YkL aB71HqmU6Y7p0uuy3j+pcl3d9GKJRkvJHLfF1KksFCWiQOI6ZMnflC7hCjev4AsiCB whEFZILMbEg0Q== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from <johan+linaro@kernel.org>) id 1pL39d-0006j7-ON; Thu, 26 Jan 2023 15:23:05 +0100 From: Johan Hovold <johan+linaro@kernel.org> To: Alexandre Belloni <alexandre.belloni@bootlin.com>, Bjorn Andersson <andersson@kernel.org> Cc: Andy Gross <agross@kernel.org>, Konrad Dybcio <konrad.dybcio@linaro.org>, Alessandro Zummo <a.zummo@towertech.it>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Maximilian Luz <luzmaximilian@gmail.com>, linux-arm-msm@vger.kernel.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold <johan+linaro@kernel.org> Subject: [PATCH 20/24] arm64: defconfig: enable Qualcomm SDAM nvmem driver Date: Thu, 26 Jan 2023 15:20:53 +0100 Message-Id: <20230126142057.25715-21-johan+linaro@kernel.org> X-Mailer: git-send-email 2.39.1 In-Reply-To: <20230126142057.25715-1-johan+linaro@kernel.org> References: <20230126142057.25715-1-johan+linaro@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756095590381396206?= X-GMAIL-MSGID: =?utf-8?q?1756095590381396206?= |
Series |
rtc: pm8xxx: add support for setting time using nvmem
|
|
Commit Message
Johan Hovold
Jan. 26, 2023, 2:20 p.m. UTC
The SDAM nvmem driver can be used to access the Shared Direct Access
Memory Module registers in some Qualcomm PMICs.
These registers can specifically be used to store a time offset on
platforms where the PMIC RTC time registers are read-only in order to
allow the RTC time to be updated.
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
---
arch/arm64/configs/defconfig | 1 +
1 file changed, 1 insertion(+)
diff --git a/arch/arm64/configs/defconfig b/arch/arm64/configs/defconfig index a17cbdac1904..b3f714ff4006 100644 --- a/arch/arm64/configs/defconfig +++ b/arch/arm64/configs/defconfig @@ -1308,6 +1308,7 @@ CONFIG_NVMEM_MTK_EFUSE=y CONFIG_NVMEM_QCOM_QFPROM=y CONFIG_NVMEM_ROCKCHIP_EFUSE=y CONFIG_NVMEM_SNVS_LPGPR=y +CONFIG_NVMEM_SPMI_SDAM=m CONFIG_NVMEM_SUNXI_SID=y CONFIG_NVMEM_UNIPHIER_EFUSE=y CONFIG_NVMEM_MESON_EFUSE=m