From patchwork Tue Nov 3 00:54:31 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 11875689 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 05FCF697 for ; Tue, 3 Nov 2020 00:54:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id D3DAF22275 for ; Tue, 3 Nov 2020 00:54:37 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="gVNuAJqa" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725932AbgKCAyh (ORCPT ); Mon, 2 Nov 2020 19:54:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33848 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725855AbgKCAyh (ORCPT ); Mon, 2 Nov 2020 19:54:37 -0500 Received: from mail-lj1-x22d.google.com (mail-lj1-x22d.google.com [IPv6:2a00:1450:4864:20::22d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A92EC0617A6 for ; Mon, 2 Nov 2020 16:54:36 -0800 (PST) Received: by mail-lj1-x22d.google.com with SMTP id x6so17155389ljd.3 for ; Mon, 02 Nov 2020 16:54:36 -0800 (PST) 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=gVNuAJqaTXBQnqR7XiKpLSC2+28r5a6+eyyRDk7me37u3V18j1zJYLZQR1gGxMGVg6 ZZ+XmHlXA2/ZSjbyYHeDglKvtcbNy9lXQtNHy6Lw8WvhZxlaxFNU5QQWElg5q4geR/rK DZPg9PvZkTMOmpa5ugIkborkEUXZzXE79zJJVsUGgxeg00+MjCrbSSh1lFzTUJUmyBeW nGs+VtJ2h/9y3uW3e/Y+vnl+lTqQz6ee83EufKLsAsbCCwja2RxsOAsTSj7t2iZ3t5Lm 3dOdGcu2s7owtK8o3ydGolOwMdCStpuVGgwFUEw0pARJX2Mg/8vqhqeR+amC3Mt7veOd f9Dw== 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=GDaxITyIE0SjoJYUX4LMAwGvvdHwUiHsFLCfXsLd1U2y4Dh5bQhhky8sF+F8KxjJCt bg2ss6SNGmC1ycdOWIiJU7t2PiL/49DGwX74lPAxvYmfgLvdy336I5UgGqqUNGYRKDCV RDGWhOzrYyfqoBImm+3Xi9SyfTJX/D9PF2OqB99XXDv3xS4yfHKzKRdb0TUebhPzRqhA dmaWAPgThSfeqwYmNQPjP0thJk9MWVQ5FncX7hfTs5hlGSLw7k7S0KLumLfsR4IC422w nEPTlrMpe3EWJ6Lm9wWintcHihLqgWuEUNaQAOEHv7c1wcC/No/qOTVp4mQma7PF3pqj MPUg== X-Gm-Message-State: AOAM533G0xiNj3usXS8VX/znKyEmSdiUUSL8V/A+zM3J0FAPQ+jEyaTR Qg6BP6oq6uSDc2GAFWFAPgR3TA== X-Google-Smtp-Source: ABdhPJzQPf5m3MC1z8NsEsHmXtYLA+Z3S5Mv9jz6+Sxvz67LTrC+J91LM1gG759UoVfOagAcV47TJQ== X-Received: by 2002:a2e:98c4:: with SMTP id s4mr8032677ljj.194.1604364875047; Mon, 02 Nov 2020 16:54:35 -0800 (PST) Received: from eriador.lan ([94.25.229.254]) by smtp.gmail.com with ESMTPSA id x20sm3298976ljj.139.2020.11.02.16.54.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 16:54:34 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson Cc: Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [RESEND 1/2] arm64: dts: qcom: enable rtc on qrb5165-rb5 board Date: Tue, 3 Nov 2020 03:54:31 +0300 Message-Id: <20201103005432.1181832-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 Tue Nov 3 00:54:32 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 11875691 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id AD1FB697 for ; Tue, 3 Nov 2020 00:54:40 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9014E22280 for ; Tue, 3 Nov 2020 00:54:40 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="T9oYo+51" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725956AbgKCAyk (ORCPT ); Mon, 2 Nov 2020 19:54:40 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33856 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbgKCAyj (ORCPT ); Mon, 2 Nov 2020 19:54:39 -0500 Received: from mail-lf1-x12e.google.com (mail-lf1-x12e.google.com [IPv6:2a00:1450:4864:20::12e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 27BCBC061A47 for ; Mon, 2 Nov 2020 16:54:38 -0800 (PST) Received: by mail-lf1-x12e.google.com with SMTP id y184so17961655lfa.12 for ; Mon, 02 Nov 2020 16:54:38 -0800 (PST) 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=T9oYo+51Qmf+L8xW6CAko+biH1KogpMHv07lHPjc87E1meKIb/ZMxqYGEB4Vdb23gw Xi9RTvX7bWVbmnp2Cpdog375w96TF3a9dJc20JhWKE1h3X0NvWXw2BNqjgmRv4m6RY5l adn3PzvX1aOF3cg8MQK2B8FX2YUQfGfAOXlg/FFguSxQs5WyedB2jJESbZI+oXq44lJh 9sA207EssdI8WH34O1yFfRj++QJnP0cjNa3ZrsMoGSGE+ewXqyRltQ5FEP/0876j024T I722Tx2X/5QCKbr86WljSjnSwKrQXLl7NP+IGbXb1iM6CViLwZ3J6rYIukrQr0l3Y5Av 5BDg== 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=ZyB83Wp77n2Y32ufgw58gEAoZdjbVR9GrAX/0UXp1l7xJ9o/cKW4wtBdyfJjQpCV4P tKx7D6K/6GCYhZk00MdP8zZIbOKKqkWbiLqDKcH8d4tTj8RiLTjL9PTHbam7/n4+KWss fIhwP586d1/Xb149DMz0mPuyTyyPNSOQCLcPeuOuqx/7acJ8lh3gk9hsSUPHU8OxFT9U ohRPfv3yOzHXTiI+WBHNNrQrUf+zUXSbvjqiXqr2+kvQTJUiLrriC85kmHs5pc9JVSRs d6DWdO+pnE8rXgvQjxjaYSF7NkEoqie3RqBuUeKuqMPMidpSWiYfLim8RlXhE9yQ3qA9 uFHQ== X-Gm-Message-State: AOAM532ZrLtq0iwgtCQjO6326tf01qsBXjgLCIKjxDDOMZjC9IvYcdl9 4S5ZL7qguLPPEtzs0FloFsVzTw== X-Google-Smtp-Source: ABdhPJzKepFbfzkAtAvVLaf0SNVtBmf0GxP7vqsKDhGq3TITzbPCcIJmgN/O0pB3wDNZgxCGMsHU/A== X-Received: by 2002:ac2:519a:: with SMTP id u26mr7198600lfi.73.1604364876657; Mon, 02 Nov 2020 16:54:36 -0800 (PST) Received: from eriador.lan ([94.25.229.254]) by smtp.gmail.com with ESMTPSA id x20sm3298976ljj.139.2020.11.02.16.54.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Nov 2020 16:54:36 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson Cc: Rob Herring , linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org Subject: [RESEND 2/2] arm64: dts: qcom: enable rtc on sm8250-mtp board Date: Tue, 3 Nov 2020 03:54:32 +0300 Message-Id: <20201103005432.1181832-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201103005432.1181832-1-dmitry.baryshkov@linaro.org> References: <20201103005432.1181832-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"; };