From patchwork Thu Jan 26 14:20:55 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Johan Hovold X-Patchwork-Id: 48716 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp297267wrn; Thu, 26 Jan 2023 06:25:34 -0800 (PST) X-Google-Smtp-Source: AK7set/KSrPUe4WvY/mdQBElNfRMg0iqz7XE3CJypqo8hZTEdCtLCT0l9b5xcY+C/pl7A81o2rBl X-Received: by 2002:a17:907:9b88:b0:878:5937:7637 with SMTP id kq8-20020a1709079b8800b0087859377637mr3560997ejc.38.1674743133941; Thu, 26 Jan 2023 06:25:33 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674743133; cv=none; d=google.com; s=arc-20160816; b=o+CUPk8906AKJIT0FezCpU1GPBUJI/XVwLnofrC62SoMQ5Bj4dTgZB7If+y6E1EfY2 8cF6PQ52sqTpRS4JIkrnMivY+aZLQ3xakDCix8oBPogyyKSTC4npSggwsrgXfMseBg84 9nLNB32OHFZE6BKmooCRLFlb5EtSECoiL1zIJCQ/PE7JydLlhvXXzWZY/2kV+htjMGU7 S+iF6UFw5y9i/TzEC9OgbwNbMjZGcl7wLEA54zre+GggolXW1GzCBM3X3GesPC5DQLYk uSehRPBtUgBXNGaSpwes092WAN4hAJhL5xhfHLQ5mlvdmgi7WqZFtqIuzow+YG9WB4DV pImg== 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=2ZtpouYcgDvRPxgAxvaa4qhiCcC00MzcmzUYXGcRPLk=; b=s17NXyb9kMvSZglZIqNdxRupbIw7P4ZI5I7tw9Zyd3+oFDAd6TKY70j17hkuK8BdqI pYTTXV7ZuibvLmpbD7rIz7rez2FJyJQ6ijUu1Bnj0T19m3sCIfHefWgLLczxYu7xZD0u ZxH4DwM3Bdn2naHYQay0ic8hlQt+zlPnfCMRbHXWFumuypkQpuCKqxrVF0Eh0AHBDuZq 7TOdUaYoddjbaigpEeJN/7wNhnW59+H0XODe6rwqj7oGEFKu3n+HP//oEAo4vpX1Tbps g7STL97irVBVixN/aMtjNv2QgWlH+pJKNlGiPnbz9+zLYe7CIx0VQR+lFY3HGKlJak2X /0KA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=FV1d9Uno; 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 g10-20020a1709067c4a00b0084d44edc334si1589432ejp.204.2023.01.26.06.25.10; Thu, 26 Jan 2023 06:25:33 -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=FV1d9Uno; 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 S232208AbjAZOXq (ORCPT + 99 others); Thu, 26 Jan 2023 09:23:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56392 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231882AbjAZOXC (ORCPT ); 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 8AC1E1D91B; 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 A0EFB61877; Thu, 26 Jan 2023 14:22:59 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id F30AEC4339B; 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=1674742979; bh=q2Bbjj15dQE3xFdW3ZNa040Zv7U1rr2wKNg7FOHt9Xo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=FV1d9Unocn1wapAKWF+DKxSVHJgr3xEEW0vCjObhVaN5P8c2rAMovOJ0/T4zuatC9 9pnGTsUYl5LM8i0gt39olhyDNqUjUyw9fJQBgE85HVuC+Wkrpnk7nhjzKw2W9opoiU BrZy1dolgpdc+9WZ27Gkbb/oDWSSc49J1pM7VrELTEAyKfsw/edNneTOZu8VTW1pek Jt/F+CRKA058MJDz0zdpLVVBBRC52363GSzEXINFe3l0XgvSBr+ggJw0Ig6vGkmst9 id+S6fxlcY7ozBLDWRZug/NrGV17bEz5fpa2jdsC1gJCM1992irOrWuo8F9djUDaIP z2ZO8227AlHRg== Received: from johan by xi.lan with local (Exim 4.94.2) (envelope-from ) id 1pL39d-0006jD-TT; Thu, 26 Jan 2023 15:23:05 +0100 From: Johan Hovold To: Alexandre Belloni , Bjorn Andersson Cc: Andy Gross , Konrad Dybcio , Alessandro Zummo , Rob Herring , Krzysztof Kozlowski , Maximilian Luz , linux-arm-msm@vger.kernel.org, linux-rtc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Johan Hovold Subject: [PATCH 22/24] arm64: dts: qcom: sc8280xp-pmics: add pmk8280 sdam nvram Date: Thu, 26 Jan 2023 15:20:55 +0100 Message-Id: <20230126142057.25715-23-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 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: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1756095456321558341?= X-GMAIL-MSGID: =?utf-8?q?1756095456321558341?= Add one of the PMK8280 SDAM blocks which can be used to store an RTC offset. Signed-off-by: Johan Hovold --- arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi index c62262b88810..7220d5b5ab7b 100644 --- a/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi +++ b/arch/arm64/boot/dts/qcom/sc8280xp-pmics.dtsi @@ -104,6 +104,15 @@ pmk8280_rtc: rtc@6100 { wakeup-source; status = "disabled"; }; + + pmk8280_sdam_6: nvram@8500 { + compatible = "qcom,spmi-sdam"; + reg = <0x8500 0x100>; + #address-cells = <1>; + #size-cells = <1>; + ranges = <0 0x8500 0x100>; + status = "disabled"; + }; }; pmc8280_1: pmic@1 {