Received: by 10.213.65.68 with SMTP id h4csp304570imn; Fri, 16 Mar 2018 03:48:23 -0700 (PDT) X-Google-Smtp-Source: AG47ELvi6I4jwzFF+9oNOr3GsJd62XSgtutFu9nOutEYkBk9iXIgvvnXDfqB+p7mVf7qdswx5uqq X-Received: by 10.101.91.133 with SMTP id i5mr770870pgr.249.1521197303923; Fri, 16 Mar 2018 03:48:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521197303; cv=none; d=google.com; s=arc-20160816; b=Z13nRiOy80poo1XDo/uaVrHqERm4nSiAl+mXVmKKbgHOi9Aya58znHz6dTqtD43Nu3 BTF16nS37+yKZAZL0HIxjQj4hHDa/7rNW/fhxrsLtflsdeX0QzpNVOP75mxBjTggnjZC +hXzbfEVtqJnapPkgySeupJDSTMZduG1+ON74vPqt+BAlaSO/2C2kEJR08uIVuB81Y0y 8su41hYeEfMkJvDXQSjmlMxOyMXJ9+x+0ehVTeIQynA1R7aakQoMCmlunfShPa4QCAp2 btieHwzWzCs0WjTgwsE5f4eHmHdywsOIioCv7BtdlZHf4PsN5meLJMRKRTkR9NQV+W/1 iaog== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:message-id:references :in-reply-to:subject:cc:to:from:date:content-transfer-encoding :mime-version:dkim-signature:dkim-signature :arc-authentication-results; bh=YQcty1cldbZppvZmoqGspUjGCSYCt/oXYe+VMXDU9ZM=; b=OzdBLsQ9MWD84VMERv/LxMwliwYN7QQuySzHRzphXqyu8yy7wSTyWdOpgQopfwSxFO KqWU5aqVqmgis070nU/nMwxOOaHeMC1/OrVpy6rSM2fi6idlQ0GC1OWJzXnsGPZDy7o5 I9ykl3+kCMPMPt2p33NTRdhhXrqGa8fwzp96/ZVm/XOb3xkZCRko8EYwlvYKnYVtByyB APORp4wL0C8wbdIMMm2VQOwNs//DHB85RiHkArb9ygk+0n9kfH9duf23viD7SAQUIbCp CXAvuKKGVpNFaGni3UEdnVOdRqcUqih2AH1j8+EDpgLkKtgiBQuF1WmfmrwsRDkNsqN/ irdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@codeaurora.org header.s=default header.b=OMMkRZcv; dkim=pass header.i=@codeaurora.org header.s=default header.b=Bz4UPkjt; 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 d8si4847053pgt.246.2018.03.16.03.48.09; Fri, 16 Mar 2018 03:48:23 -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; dkim=pass header.i=@codeaurora.org header.s=default header.b=OMMkRZcv; dkim=pass header.i=@codeaurora.org header.s=default header.b=Bz4UPkjt; 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 S1753449AbeCPKrS (ORCPT + 99 others); Fri, 16 Mar 2018 06:47:18 -0400 Received: from smtp.codeaurora.org ([198.145.29.96]:60840 "EHLO smtp.codeaurora.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753317AbeCPKrP (ORCPT ); Fri, 16 Mar 2018 06:47:15 -0400 Received: by smtp.codeaurora.org (Postfix, from userid 1000) id CDA6B60C54; Fri, 16 Mar 2018 10:47:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521197234; bh=jE+zPdCEi380umGo6g/iDf8V7nfMGfla3lel0yB06xY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=OMMkRZcvJfSDcUhMgIo322nsVCOxb/lFmtEXpFSXkyNFkRSM07osdSNYw/Ny87WF0 Y7D4VwWrlDT5CMwkwbHOcLZrMnWh+87OZAn9UA1ulm9U23hjfqM64SNp25804C6p+u Plz3Gz7hvchkCAbuyqzl55ESfZeIb5hENnrlMGRI= X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on pdx-caf-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.8 required=2.0 tests=ALL_TRUSTED,BAYES_00, DKIM_SIGNED,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 Received: from mail.codeaurora.org (localhost.localdomain [127.0.0.1]) by smtp.codeaurora.org (Postfix) with ESMTP id DAC206030F; Fri, 16 Mar 2018 10:47:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=codeaurora.org; s=default; t=1521197233; bh=jE+zPdCEi380umGo6g/iDf8V7nfMGfla3lel0yB06xY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Bz4UPkjtKgo3B9lS5yDVqKS0g5oSr1u2T8EfFCLWNRKH6HceFenqUkJ3UA5qwM9u1 7lhET1q4Pu65GjVbPzvhd1vRQwX1WS4oxfMsE2KrQ3QywWEwQKPNl8sMxPPXj+Vx66 slt7htXdX0ArGCHTdZwJnw1jYAVi1QexEWqPhf/Q= MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 16 Mar 2018 16:17:13 +0530 From: Abhishek Sahu To: Sricharan R Cc: robh+dt@kernel.org, robh@kernel.org, mark.rutland@arm.com, linux@armlinux.org.uk, andy.gross@linaro.org, david.brown@linaro.org, catalin.marinas@arm.com, will.deacon@arm.com, sboyd@codeaurora.org, bjorn.andersson@linaro.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-arm-msm@vger.kernel.org, linux-soc@vger.kernel.org Subject: Re: [PATCH v2 11/13] ARM: dts: ipq8074: Add peripheral nodes In-Reply-To: <1521193101-4586-12-git-send-email-sricharan@codeaurora.org> References: <1521193101-4586-1-git-send-email-sricharan@codeaurora.org> <1521193101-4586-12-git-send-email-sricharan@codeaurora.org> Message-ID: <28b883a75162ccc8f3a212880a683714@codeaurora.org> X-Sender: absahu@codeaurora.org User-Agent: Roundcube Webmail/1.2.5 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2018-03-16 15:08, Sricharan R wrote: > Add serial, i2c, bam, spi, qpic peripheral nodes. > > Signed-off-by: Sricharan R > --- > arch/arm64/boot/dts/qcom/ipq8074.dtsi | 105 > ++++++++++++++++++++++++++++++++++ > 1 file changed, 105 insertions(+) > > diff --git a/arch/arm64/boot/dts/qcom/ipq8074.dtsi > b/arch/arm64/boot/dts/qcom/ipq8074.dtsi > index 2bc5dec..806fc56 100644 > --- a/arch/arm64/boot/dts/qcom/ipq8074.dtsi > +++ b/arch/arm64/boot/dts/qcom/ipq8074.dtsi > @@ -124,6 +124,111 @@ > clock-names = "core", "iface"; > status = "disabled"; > }; > + > + blsp_dma: dma@7884000 { > + compatible = "qcom,bam-v1.7.0"; > + reg = <0x07884000 0x2b000>; we can remove leading zero. s/0x07884000/0x7884000 > + interrupts = ; > + clocks = <&gcc GCC_BLSP1_AHB_CLK>; > + clock-names = "bam_clk"; > + #dma-cells = <1>; > + qcom,ee = <0>; > + }; > + > + serial_blsp0: serial@78af000 { > + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; > + reg = <0x78af000 0x200>; > + interrupts = ; > + clocks = <&gcc GCC_BLSP1_UART1_APPS_CLK>, > + <&gcc GCC_BLSP1_AHB_CLK>; > + clock-names = "core", "iface"; > + status = "disabled"; > + }; > + > + serial_blsp2: serial@78B1000 { For maintaining uniformity, we can have all address in lower case s/78B1000/78b1000 > + compatible = "qcom,msm-uartdm-v1.4", "qcom,msm-uartdm"; > + reg = <0x78B1000 0x200>; same thing, here also > + interrupts = ; > + clocks = <&gcc GCC_BLSP1_UART3_APPS_CLK>, > + <&gcc GCC_BLSP1_AHB_CLK>; > + clock-names = "core", "iface"; > + dmas = <&blsp_dma 4>, > + <&blsp_dma 5>; > + dma-names = "tx", "rx"; > + status = "disabled"; > + }; > + > + spi_0: spi@78b5000 { > + compatible = "qcom,spi-qup-v2.2.1"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x78b5000 0x600>; > + interrupts = ; > + spi-max-frequency = <50000000>; > + clocks = <&gcc GCC_BLSP1_QUP1_SPI_APPS_CLK>, > + <&gcc GCC_BLSP1_AHB_CLK>; > + clock-names = "core", "iface"; > + dmas = <&blsp_dma 12>, <&blsp_dma 13>; > + dma-names = "tx", "rx"; > + status = "disabled"; > + }; > + > + i2c_0: i2c@78b6000 { > + compatible = "qcom,i2c-qup-v2.2.1"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x78b6000 0x600>; > + interrupts = ; > + clocks = <&gcc GCC_BLSP1_AHB_CLK>, > + <&gcc GCC_BLSP1_QUP2_I2C_APPS_CLK>; > + clock-names = "iface", "core"; > + clock-frequency = <400000>; remove one extra space. clock-frequency = <400000>; > + dmas = <&blsp_dma 15>, <&blsp_dma 14>; > + dma-names = "rx", "tx"; > + status = "disabled"; > + }; > + > + i2c_1: i2c@78b7000 { > + compatible = "qcom,i2c-qup-v2.2.1"; > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <0x78b7000 0x600>; > + interrupts = ; > + clocks = <&gcc GCC_BLSP1_AHB_CLK>, > + <&gcc GCC_BLSP1_QUP3_I2C_APPS_CLK>; > + clock-names = "iface", "core"; > + clock-frequency = <100000>; remove one extra space. clock-frequency = <100000>; with above changes. Reviewed-by: Abhishek Sahu > + dmas = <&blsp_dma 17>, <&blsp_dma 16>; > + dma-names = "rx", "tx"; > + status = "disabled"; > + }; > + > + qpic_bam: dma@7984000 { > + compatible = "qcom,bam-v1.7.0"; > + reg = <0x7984000 0x1a000>; > + interrupts = ; > + clocks = <&gcc GCC_QPIC_AHB_CLK>; > + clock-names = "bam_clk"; > + #dma-cells = <1>; > + qcom,ee = <0>; > + status = "disabled"; > + }; > + > + qpic_nand: nand@79b0000 { > + compatible = "qcom,ipq8074-nand"; > + reg = <0x79b0000 0x10000>; > + #address-cells = <1>; > + #size-cells = <0>; > + clocks = <&gcc GCC_QPIC_CLK>, > + <&gcc GCC_QPIC_AHB_CLK>; > + clock-names = "core", "aon"; > + > + dmas = <&qpic_bam 0>, > + <&qpic_bam 1>, > + <&qpic_bam 2>; > + dma-names = "tx", "rx", "cmd"; > + status = "disabled"; > + }; > }; > > cpus {