Received: by 10.223.164.221 with SMTP id h29csp1128976wrb; Wed, 1 Nov 2017 10:55:08 -0700 (PDT) X-Google-Smtp-Source: ABhQp+TDJYUqv+aULfdNTtvfB4yHF013nXu2MkPCSFi9rtM7yAerOiuvHteobfVyxW1jNYekVEec X-Received: by 10.101.75.14 with SMTP id r14mr704695pgq.232.1509558907979; Wed, 01 Nov 2017 10:55:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1509558907; cv=none; d=google.com; s=arc-20160816; b=s8r10XB0ckex3P+oIOt4vYhqbUVSTvEVzAYd4Gl9F3beyJDtX0GdY0pWUubgtm2+a9 iESi0rqzgVFu7h6I5rppPMTTSin0VLWgfHrBfJACcbXtsFP5laGGZwvOnJ5LAq8mwxqd v2e6QqvP/WkLi1iCrPQVqVAIsmCQPfu9wQBO0jgQJEcuzKiGBk/wp2GFnkfBh3auL/Oy QW2IOS3hAOUmiEEB42Wjs9RFwKxCzZCNqvgsQQ6IEMGayuQOBviHr/S7FmBLWahyJrTZ 0hFyS7r17MSkvul3UI14E9FnXBCDNHGDckUCyy7Nr/jstDaSN9xODL17NTsqIftel6wm /RpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=eFJjQy3Msw3tHhC6WVOscUaahnb6b16dX+je+nVS5/s=; b=lO7paWKxrLUIMsJj9J3jT6mCeaXAPWCPuVbbwr4QUJQru5VVqjgNBo/JrRogVunyur PgRjrEv1JXavDJd+m3c6PxW92GovS/T92CU0zlD/4QY+eJ6Li/fr//pIkdp3/w9/gjyM YSKGMh/6/Tm/Gca3iCFkC9WMPBs6hd7yIGZv/SCpAH0WmSJH7pl4apfRAjUVmlObDmjV wzKuwPbG3t7Ikz6MBDoN03BKptPYPbZ4UmZuT83WbRluG0Mlrfmimdr6BXHEXXxwd8r5 GAuAETP92wi5s+j8GP8+Hyb6ur+CkeiWRmIvupauLltKxh2PzMVlwmO154QjyAG8QhSL KXcg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f7si1401187pgq.406.2017.11.01.10.54.54; Wed, 01 Nov 2017 10:55:07 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755049AbdKARxw (ORCPT + 99 others); Wed, 1 Nov 2017 13:53:52 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:51306 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751603AbdKARxo (ORCPT ); Wed, 1 Nov 2017 13:53:44 -0400 Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id 541D49C2CA2; Wed, 1 Nov 2017 13:53:43 -0400 (EDT) Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id MrrsqvEF2hu2; Wed, 1 Nov 2017 13:53:42 -0400 (EDT) Received: from localhost (localhost [127.0.0.1]) by mail.savoirfairelinux.com (Postfix) with ESMTP id EE0749C2EE8; Wed, 1 Nov 2017 13:53:41 -0400 (EDT) X-Virus-Scanned: amavisd-new at mail.savoirfairelinux.com Received: from mail.savoirfairelinux.com ([127.0.0.1]) by localhost (mail.savoirfairelinux.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id W6ArbYQF4vwf; Wed, 1 Nov 2017 13:53:41 -0400 (EDT) Received: from workotop.mtl.sfl (unknown [192.168.49.115]) by mail.savoirfairelinux.com (Postfix) with ESMTPSA id A5CD59C2EDD; Wed, 1 Nov 2017 13:53:41 -0400 (EDT) From: Damien Riegel To: linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org Cc: Andy Gross , David Brown , Rob Herring , Mark Rutland , Catalin Marinas , Will Deacon , kernel@savoirfairelinux.com, Damien Riegel Subject: [PATCH 3/4] arm64: dts: qcom: msm8916: normalize I2C bindings Date: Wed, 1 Nov 2017 13:53:34 -0400 Message-Id: <20171101175335.22123-4-damien.riegel@savoirfairelinux.com> X-Mailer: git-send-email 2.15.0 In-Reply-To: <20171101175335.22123-1-damien.riegel@savoirfairelinux.com> References: <20171101175335.22123-1-damien.riegel@savoirfairelinux.com> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The QUP core can be used either for I2C or SPI, so the same IP is mapped by a driver or the other. SPI bindings use a leading 0 for the start address and a size of 0x600, I2C bindings don't have the leading 0 and have a size 0x1000. To make them more similar, add the leading 0 to I2C bindings and changes the size to 0x600, as the driver only accesses registers up to address 0x408. Also align the second entry of the clocks array. Signed-off-by: Damien Riegel --- arch/arm64/boot/dts/qcom/msm8916.dtsi | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/arch/arm64/boot/dts/qcom/msm8916.dtsi b/arch/arm64/boot/dts/qcom/msm8916.dtsi index e16ba8334518..de25bd6070f5 100644 --- a/arch/arm64/boot/dts/qcom/msm8916.dtsi +++ b/arch/arm64/boot/dts/qcom/msm8916.dtsi @@ -457,10 +457,10 @@ blsp_i2c2: i2c@78b6000 { compatible = "qcom,i2c-qup-v2.2.1"; - reg = <0x78b6000 0x1000>; + reg = <0x078b6000 0x600>; interrupts = ; clocks = <&gcc GCC_BLSP1_AHB_CLK>, - <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>; + <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>; clock-names = "iface", "core"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c2_default>; @@ -472,10 +472,10 @@ blsp_i2c4: i2c@78b8000 { compatible = "qcom,i2c-qup-v2.2.1"; - reg = <0x78b8000 0x1000>; + reg = <0x078b8000 0x600>; interrupts = ; clocks = <&gcc GCC_BLSP1_AHB_CLK>, - <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>; + <&gcc GCC_BLSP1_QUP4_I2C_APPS_CLK>; clock-names = "iface", "core"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c4_default>; @@ -487,10 +487,10 @@ blsp_i2c6: i2c@78ba000 { compatible = "qcom,i2c-qup-v2.2.1"; - reg = <0x78ba000 0x1000>; + reg = <0x078ba000 0x600>; interrupts = ; clocks = <&gcc GCC_BLSP1_AHB_CLK>, - <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>; + <&gcc GCC_BLSP1_QUP6_I2C_APPS_CLK>; clock-names = "iface", "core"; pinctrl-names = "default", "sleep"; pinctrl-0 = <&i2c6_default>; -- 2.15.0 From 1583609588982180082@xxx Thu Nov 09 17:16:32 +0000 2017 X-GM-THRID: 1583609588982180082 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread