From patchwork Thu Sep 17 21:13:20 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 250182 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 99735C43465 for ; Thu, 17 Sep 2020 21:23:02 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 637BA208E4 for ; Thu, 17 Sep 2020 21:23:02 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="mnMdWqVq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726004AbgIQVXB (ORCPT ); Thu, 17 Sep 2020 17:23:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38476 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726044AbgIQVW7 (ORCPT ); Thu, 17 Sep 2020 17:22:59 -0400 Received: from mail-lf1-x143.google.com (mail-lf1-x143.google.com [IPv6:2a00:1450:4864:20::143]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6C8EC061756 for ; Thu, 17 Sep 2020 14:13:27 -0700 (PDT) Received: by mail-lf1-x143.google.com with SMTP id m5so3749903lfp.7 for ; Thu, 17 Sep 2020 14:13:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MAoskpdgpwqYFVZy1SWoFP45MNq0LuspN6fWJIM1v0A=; b=mnMdWqVqHNSYwmfiDtcie4ATSrHFx25ewoZcUtt80mEmfbjZ8VE4ad7io0EATi9h34 RDPDTrx/FJJr2VETLCKgqBKvqshxmcDMnkQ4POgfmm9VjUCmkQdx1xNcjogKsHVAX/mU PGTceiMMnCclWYthPXhf9e33SVl1UjEDQm6g8nanB8kAIgHB6+DDrYcKCLKTsQgYHK1V 6iiqH5wFNZ8nM2Q2nSjyVLtAz2g9uNFfMDH+TaPn5CnwQFtfWmCKpCFAPqvSqjLgrw5j dHTLWTk/jrHJPE5sHxhsFskmBU+C9JQa3sZgcwPxDO7FVX2Lb0LO3QNHhQMWrD901BoB cPtw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=MAoskpdgpwqYFVZy1SWoFP45MNq0LuspN6fWJIM1v0A=; b=FRlAjozjXAkcqbgJBilOykqES3RLp0QTSjJOi02tYLGtvnk8XR7LtfzhbM9x5bl/M6 xkAxnBYtdhPtx8xkU2iu0KNqZb7K/9QBL9ZxYM3HFdoMixgBgExXjedTqgW0FlAHYiS4 Ku4P7WZAm5a928qtsTsOXQuRVlD/RgXEPnuu9y/T1Fk+SQPYhhjxMEiGvch4ZvQ0ZSyn 0MTb5JGKuslJUqyVtGPLkGVj2zxwuC0Qzt35Rp9p0WgLkc+gJnqJisEwhlFtYMDPMkm9 bJ3vYjaspsvbGlkAg3310EcQxj4tw/aC55zMUOjVK0UEHyyBw6PqMalOBek1tYXwdS5i m9jw== X-Gm-Message-State: AOAM531uf+WKfsxAexh+AHRF8q6sWTsF+KeUpVSLKGHQiINZm43EXLOY zNjBzj7smQ8QZeJ53atrI2st8A== X-Google-Smtp-Source: ABdhPJy/uv5bDEos5SGJ6p0EhHqRHU0QI3bA2SKQg4SqXX8u+0dcJoxWvnm9LDksQ3KY3vabX07S4A== X-Received: by 2002:a19:8357:: with SMTP id f84mr9067385lfd.406.1600377205906; Thu, 17 Sep 2020 14:13:25 -0700 (PDT) Received: from eriador.lan ([188.162.64.171]) by smtp.gmail.com with ESMTPSA id h124sm136711lfd.203.2020.09.17.14.13.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 14:13:25 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 1/2] arm64: dts: qcom: enable rtc on qrb5165-rb5 board Date: Fri, 18 Sep 2020 00:13:20 +0300 Message-Id: <20200917211321.3295947-1-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable PMIC's RTC device on RB5 board. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/pm8150.dtsi | 2 +- arch/arm64/boot/dts/qcom/qrb5165-rb5.dts | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/arch/arm64/boot/dts/qcom/pm8150.dtsi b/arch/arm64/boot/dts/qcom/pm8150.dtsi index 1b6406927509..a53eccf2b695 100644 --- a/arch/arm64/boot/dts/qcom/pm8150.dtsi +++ b/arch/arm64/boot/dts/qcom/pm8150.dtsi @@ -97,7 +97,7 @@ die-temp@6 { }; }; - rtc@6000 { + pm8150_rtc: rtc@6000 { compatible = "qcom,pm8941-rtc"; reg = <0x6000>; reg-names = "rtc", "alarm"; diff --git a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts index 1528a865f1f8..fec31655141c 100644 --- a/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts +++ b/arch/arm64/boot/dts/qcom/qrb5165-rb5.dts @@ -459,6 +459,10 @@ &pm8150l_gpios { "PM3003A_MODE"; }; +&pm8150_rtc { + status = "okay"; +}; + &qupv3_id_0 { status = "okay"; }; From patchwork Thu Sep 17 21:13:21 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 292780 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.9 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, HEADER_FROM_DIFFERENT_DOMAINS, INCLUDES_PATCH, MAILING_LIST_MULTI, SIGNED_OFF_BY, SPF_HELO_NONE, SPF_PASS, URIBL_BLOCKED, USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F2040C43464 for ; Thu, 17 Sep 2020 21:23:00 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id A1C5E2311D for ; Thu, 17 Sep 2020 21:23:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="SoiNw2WF" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725844AbgIQVXA (ORCPT ); Thu, 17 Sep 2020 17:23:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726004AbgIQVW7 (ORCPT ); Thu, 17 Sep 2020 17:22:59 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 20E1DC061788 for ; Thu, 17 Sep 2020 14:13:29 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id s205so3255893lja.7 for ; Thu, 17 Sep 2020 14:13:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=I+q32KKfvQ8vwPBE7D57+tI6W4ETqZSqkktr32GH0s8=; b=SoiNw2WFQ2njmegjpwS6mxU+DxXK0K3LYLdZ63AGM4ciNfEy5pJRDj0Iu6+1DdgoS8 gUr/MeFr6g0XJcFKfuz+C3PDCtzCo0B++ivyH+Bc53MpYz+161HXmGgIMfdRpaIsg3b+ eVqSCRmMTLnFIMmqXdMVJfzGhGack3BLegki4Fcn9k08kRTlyJCSJu4KGapVXJiDKopV 5Jk+nKzGyrr96xkRJ3zGrdq668drF9S20MzPYFMtEHqQ1azbHLl60SZva6isXAxLMzwe EcA/zFi8W0QmH0wSiK2rX9zQ2SzGSHJwZgVlcf7nMTGp4rcN7sj+pPDPHfsuucK/Kzuv upng== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=I+q32KKfvQ8vwPBE7D57+tI6W4ETqZSqkktr32GH0s8=; b=Pp6JMFAkzzCHTY3WcKp4cyyxT5UFKYelF2K5BntvKGwpfwD/SWC+p548BC0xSf2u0u 1ytRw4rPrIypBreT7/NeL9/i2Z+Ynf3VBcXkC4AUVmdTDF4NabVjNiuyfm+fBFHSytpB Fxrqg77PV9/qpC3pLDpfPW1rdm0FOHyEgvot3q29YapQvm7EmP8AE1IxdmBUTQ7Bel8S i9uGIKYYcXKG8izZHVp2VWyJ3kvpYOfFlQgAcL1FBVoi6O72Y6mtJrlBcJLsSSVrmuy+ cS+XCjXfxYNKp/ly1U3zfMBpeLvplpdbSn0pccnocsABjA0YAaB09p/aUZCHr7sg9A6V PoTg== X-Gm-Message-State: AOAM531vnBN4wmkU59raIdrYacX5/SDQz0ZxXCIKdCFZCSm+3wSvEkoi RqqYzw/8+Ip6SgBXYQI0tnRFh8yhiRWxJQ== X-Google-Smtp-Source: ABdhPJx0MrgPCAWI08JRyqGMYdNLcjDf7BwswkxiwDkLY+Q/0KwRYNGluzsAZpupPnPMGOL72q9qlg== X-Received: by 2002:a2e:b178:: with SMTP id a24mr9729704ljm.276.1600377207536; Thu, 17 Sep 2020 14:13:27 -0700 (PDT) Received: from eriador.lan ([188.162.64.171]) by smtp.gmail.com with ESMTPSA id h124sm136711lfd.203.2020.09.17.14.13.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 17 Sep 2020 14:13:26 -0700 (PDT) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring Cc: linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH 2/2] arm64: dts: qcom: enable rtc on sm8250-mtp board Date: Fri, 18 Sep 2020 00:13:21 +0300 Message-Id: <20200917211321.3295947-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20200917211321.3295947-1-dmitry.baryshkov@linaro.org> References: <20200917211321.3295947-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org Enable PMIC's RTC device on SM8250-MTP board. Signed-off-by: Dmitry Baryshkov --- arch/arm64/boot/dts/qcom/sm8250-mtp.dts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts index fd194ed7fbc8..c85cab9c9b41 100644 --- a/arch/arm64/boot/dts/qcom/sm8250-mtp.dts +++ b/arch/arm64/boot/dts/qcom/sm8250-mtp.dts @@ -378,6 +378,10 @@ &i2c15 { /* rtc6226 @ 64 */ }; +&pm8150_rtc { + status = "okay"; +}; + &qupv3_id_0 { status = "okay"; };