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: 313150 Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp778061ilg; Thu, 17 Sep 2020 14:23:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyG2cc0k7QefithhcxUWUeXZ1IAMcQ7/kprig2OcSHT6XCovLgyZCvXtm8nz87NQOBEFDc+ X-Received: by 2002:a17:906:d97b:: with SMTP id rp27mr34430157ejb.18.1600377780555; Thu, 17 Sep 2020 14:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600377780; cv=none; d=google.com; s=arc-20160816; b=CwUzFggklh7ZTZaFU/Lm5JyudBE0PZPTA3tlgGwu4X1NTsBh1avZuyZeI2QlP3Wryq xHrQi/OJhJd952ns5uHLdMOxJIXwImbTw1OT0FcrFPfdR4LpNtZC2FrTIBv1c46DHSNs U4AZ2BG113c9h7yCXjGllwZ+EScMfZxCmJyTeXrl4yVmKxw1oD+yFbuyWnjScy8Hh+N3 0zkqVO/mitcZF1nJgTS5Fb3D/VHzm4OUS1EWs3LgYKGnO6k1poj5li2dja2h68iMGbCK hW+ZuncYvJ0lzhzuG9AyxvTxUDwqQdGn8qih0xXHK8cC15hirSt3M1+532xpXOPpCO9/ NzYw== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=MAoskpdgpwqYFVZy1SWoFP45MNq0LuspN6fWJIM1v0A=; b=BiZCGdYudRPAyhNvj1W/yfs4p4ZRDFqn0OWzioRgTv3iKvfiIxsj+g2MfUXlQLoaHv LfYRh9kIgzCOoMpIy+w6gu2DTDpvVk6wx5CJEhJAqIZ1/sZbYXJjnvJoy1jZ4wlF7xcF ahMHBjIrlmmZuabLEdaAwnKOKQ8+fLyNp29zjehK+RE+xKRUsuJANmfJewLIcS/2czLT bQiVj/vdw+guzHKc0oITwXSqMeQVGRjWGiTp/K3bfY2gnnWwknr3+Or+EyBG+/xY0BQT gFufhqlcq8qQvmbqLBzCxKLa+W845nKK8hB5Le+S1TR6d6rPlstd957wSj+PcJW5UKJi g9mA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mnMdWqVq; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r18si768570eja.528.2020.09.17.14.23.00; Thu, 17 Sep 2020 14:23:00 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=mnMdWqVq; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726135AbgIQVW7 (ORCPT + 6 others); Thu, 17 Sep 2020 17:22:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38464 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725858AbgIQVW7 (ORCPT ); Thu, 17 Sep 2020 17:22:59 -0400 Received: from mail-lf1-x141.google.com (mail-lf1-x141.google.com [IPv6:2a00:1450:4864:20::141]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9FD4BC06174A for ; Thu, 17 Sep 2020 14:13:27 -0700 (PDT) Received: by mail-lf1-x141.google.com with SMTP id z19so3762356lfr.4 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=Lw5BrKzxLbLc5UXzev5hdfIVq0wrzkgandTBaJOBWgUwR09XX0kmVJ3thm70Q6aD7W gnG9gNLpeGyGAr0EPNzaphg0HWUCqmyUwgpWQ3kxBYCTlbQQ0nlXM5mMWNX5F3TNAdat nmJFlFRMnHmPDzO35wwVAKR36fHM8OgcLGTl/hGXBlnQSEV6RqVTJm2oRPNbJje5Y1FO 7i34wRCHquN9KVXz9XLLh5catifXmlz30GwDbaz9dHblSY/0nVThM/l/6TxHQgC8PRlM n2cwBWjo8dx44aKi3v932m1Xfs+j2m6uch9cEOYKh37HRtbGPBzRZjKQlvZ6EKmRG36z tPJQ== X-Gm-Message-State: AOAM531tsvrurzlg+VJ9aEx5pPNqdekK6l6kXVIWFvKMHI2oS2LQq4HV L0q13cyBHIcpNWt+dOleotGlZQ== 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: devicetree@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(-) -- 2.28.0 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: 313151 Delivered-To: patch@linaro.org Received: by 2002:a92:5ad1:0:0:0:0:0 with SMTP id b78csp778064ilg; Thu, 17 Sep 2020 14:23:01 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzzBUlcTU+FsXkgdSeIgpSfeB0Jk1WUlh+g5xQls8Coz9sTQmRQkTL4GQkux5bIGXwApdz1 X-Received: by 2002:a17:906:6993:: with SMTP id i19mr31536532ejr.26.1600377780929; Thu, 17 Sep 2020 14:23:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1600377780; cv=none; d=google.com; s=arc-20160816; b=PFOEf1HuJbgXI6lMh0PQwjfEFJbRi1pXTWQH5wX2oC6PO5/SHTuSwH9lUzHjoqwoOz MCvECH9Wncs79aCwFk8qZPHYHss5Lg/3N8h7UZBPtaywv2WHp8LZiIL8IflBA3/LLRX7 N880Da1ctktsxZzjvGcR4/5995oXjCPYUcX3xvTp/GgzimqR1W51I8NbEHlp0wNYhP0m zjwnqU5CEus4yTccMvkC7P2AUDUnAB1xjlnf2UpyjM5OnNbsMT4muUFnYQnTuLa3ZLkz kHbeEKO7bo5TVAJYzt6sSCoUEKi1qJpHcKjOAmR/YwFiuWRcXFoF55S8QH5Jh4Eznl9H PVMw== 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=I+q32KKfvQ8vwPBE7D57+tI6W4ETqZSqkktr32GH0s8=; b=G8Ex4CpzoA1nY650NGIds8FCDIFmFlson/HXiL9oMIDR1FN5foLhu1vlg/KcvLcgqR 679AYqZLpRYis9y23za1etjWXkf8jOXpp6k8ZVH4gjVw1gw3ErIBx4gjXV6X3ozRuEmV kr7lYppmw9c0KMATIU6FK9LueBm8X2ZN0fOnYqYpejE1W3nIsMZjS+mj97DnpZPeSiGv /7AphLDBkSHnDg14rRFtr0hI+Eycs2oVCle4rzTvN/7dXUtFLOXRWhqVEu1HxsjL/Qgt N1jWppSvVD10HSmO27qzsPVp27FYJ98ZLy6r/Gqo44AqV4wAMvB6CuCJcd3JyVmvjjS+ LlHQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=SoiNw2WF; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r18si768570eja.528.2020.09.17.14.23.00; Thu, 17 Sep 2020 14:23:00 -0700 (PDT) Received-SPF: pass (google.com: domain of devicetree-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=@linaro.org header.s=google header.b=SoiNw2WF; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726174AbgIQVW7 (ORCPT + 6 others); Thu, 17 Sep 2020 17:22:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38474 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726037AbgIQVW7 (ORCPT ); Thu, 17 Sep 2020 17:22:59 -0400 Received: from mail-lj1-x242.google.com (mail-lj1-x242.google.com [IPv6:2a00:1450:4864:20::242]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 35333C06178A for ; Thu, 17 Sep 2020 14:13:29 -0700 (PDT) Received: by mail-lj1-x242.google.com with SMTP id r24so3269475ljm.3 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=IVFcP0tX+3J3LWtVuGBHqXnt1HRVzwnYffxWPoHIcOWIeLIjSqHbi+4D9oFI1gV+qd NIujfWP1Mc7tYRIklhl6OkL/K8keD9sGGx+6a66u77GN+ownZUMdXcQVxdgT3X4OHdmf hFdCvD3bBxkIQjrhrMVigfTAQmgRUmSne1dj8bp5A177k83L/MPbWflJSHNUcQPdlusC GnhNoQ8MlwnFjR48mUJZ11K0ardjRdqOh2fyy9SsMS93MYJeEWVyFRxRJP0pFs0XNI+e /996ABS/k4AF2ApGASiFDNQxdGS/4tAfebmaX7B+PUNvl27nChTRgEjJWdIv+gA7hgUS jCxA== X-Gm-Message-State: AOAM533blTrvx9cRCesjucpJkvZ/OnMD2Nfih0A6z9yEP2/bwW8rijZt 3lLZKpST3IIcCRSQTxYDZgqrpQ== 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: devicetree@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(+) -- 2.28.0 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"; };