Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp48659imu; Thu, 20 Dec 2018 16:40:52 -0800 (PST) X-Google-Smtp-Source: ALg8bN7rc8OrFr92aw8L94n1YW9nJB0yodjTRn7jVD75DcbsheitJCEeTgijRY0RRVHR+VQKU5xo X-Received: by 2002:a63:68c4:: with SMTP id d187mr347944pgc.11.1545352852630; Thu, 20 Dec 2018 16:40:52 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545352852; cv=none; d=google.com; s=arc-20160816; b=YcIqGzToONQGHq3TY/qEQg32hDMiLoVia/mtQnhK1YPc2b7ib90LqgcZ/kumK3NCw+ nxtFjXrE1+6XMKLObH37ZplSMebqdO4csZ7QVliPIQODhO2qC10SaZceswFkyqfouLRv tlPIamhU6HaxZT/Ptyy3I4gFGbP5HbGEIMCRG6PIL0jA1kJ+4r+tQpictqB7Oee7Fndh lC1GR0JnYwl2HLgz4lYzsp9NyWcdEaT88SnN8UvI0s58RX9N3umV1UXtf2SLS/Rp0zPk 60WQMTWM3pE//lFunJRX/ajyqt2UwwOLuln7Z+Jpljhohvtguxz8HXXP3weoT0spviJg 4ulg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=nVQRcZQN96bCOPNHdgG5tEwa97yOWB8bDA315UyQrug=; b=yc9+CwMtKTDn1sXxsGl8Sq9axbHjqOXK0TTIDwo/iSAJNRBv3/5J21oCElVpXx4YGl b1YLhK7q+YD6AzsJZ7B1C6VxChEepK7uynYUg5Uman6E9lz+Yz9oI0b+UkJA2AaafusC /m6UJ10462Ke9TY53NVqvGnMuvCfqeneSimbtqdwmRNn8rSPxB86Xt4bHuv9UYNIToIG JO+Sgsn74ILWrhfu/KyX+++rmdJKEH1cVmIq9hH/OrjvDWRI52bWh/ZvRomzWNa9OIyn avPc3IxoDnmAYpGuVdOz+6qEizkamOu2C9k8uagkr1a5bEm9VPOi95MUfBcerSjtdwRL zX9Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=aP2kn+lA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l30si19661590plg.113.2018.12.20.16.40.36; Thu, 20 Dec 2018 16:40:52 -0800 (PST) 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=@chromium.org header.s=google header.b=aP2kn+lA; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387834AbeLTSOl (ORCPT + 99 others); Thu, 20 Dec 2018 13:14:41 -0500 Received: from mail-vs1-f68.google.com ([209.85.217.68]:41868 "EHLO mail-vs1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732563AbeLTSOl (ORCPT ); Thu, 20 Dec 2018 13:14:41 -0500 Received: by mail-vs1-f68.google.com with SMTP id t17so1656198vsc.8 for ; Thu, 20 Dec 2018 10:14:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=nVQRcZQN96bCOPNHdgG5tEwa97yOWB8bDA315UyQrug=; b=aP2kn+lAjRpUVG5gzgCbbEO0jZBi9+9jJXQDYyb0SAXARQ4UEKiYDbZoENsYE7eKe+ u87TYyQUGlHc4ETiT7z0CFikwbblhLM7+RJPzimlmRUAoF4askL3QdGCUict+KAXTxrV njNmmKpYV+zgITPCz/psgy1k6sviquDu7fiMY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=nVQRcZQN96bCOPNHdgG5tEwa97yOWB8bDA315UyQrug=; b=B8NxILm+wPGq9Sja/EeK5TeBej4V01IL6dD0ddY7T5tWhxpRhHdtwAqAHqpNo9bPgp 9KkIgAe5lAo2dPtQlmEHEuIYSRWOoIQ+Kq9NlcqEw+jVZ5h/71EzDto/+m0lXAQkdDcC vlj8+Bp85RSqAPkAyvstU4zsTyWM+qgCN/cEmmeajlGQFoggOZXnFHUiYv+q5+3ChG/V B9VqT2du9c9w/+1WrapHv6Lnc1z2xv+jpCllh9MmQUylK0aQAs/M6xXFwclmzZ4fjbSO bk2N7TAiOlemeJVKXKN33DwX9N88mkGWca3bHgl6lgVGGY0jcS71PC6j95YpjmCw/HQp PNyA== X-Gm-Message-State: AA+aEWZpaEIt/wEOK7VOrBWW3w25YmwYiVu/GyisnBQ8C3fu29x3iIlv Fznv+YdWzbZMGqsWd4qekTcX4bVRC/Q= X-Received: by 2002:a67:6204:: with SMTP id w4mr12856001vsb.68.1545329679474; Thu, 20 Dec 2018 10:14:39 -0800 (PST) Received: from mail-vk1-f173.google.com (mail-vk1-f173.google.com. [209.85.221.173]) by smtp.gmail.com with ESMTPSA id c11sm8575390vsd.9.2018.12.20.10.14.38 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 20 Dec 2018 10:14:38 -0800 (PST) Received: by mail-vk1-f173.google.com with SMTP id 197so593347vkf.4 for ; Thu, 20 Dec 2018 10:14:38 -0800 (PST) X-Received: by 2002:a1f:e807:: with SMTP id f7mr11710641vkh.16.1545329677754; Thu, 20 Dec 2018 10:14:37 -0800 (PST) MIME-Version: 1.0 References: <20181219221105.3004-1-ilina@codeaurora.org> <20181219221105.3004-7-ilina@codeaurora.org> In-Reply-To: <20181219221105.3004-7-ilina@codeaurora.org> From: Doug Anderson Date: Thu, 20 Dec 2018 10:14:25 -0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 6/7] arm64: dts: msm: add PDC device bindings for sdm845 To: Lina Iyer Cc: Stephen Boyd , Evan Green , Marc Zyngier , LKML , Raju P L S S S N , linux-arm-msm , Thierry Reding , Bjorn Andersson Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On Wed, Dec 19, 2018 at 2:11 PM Lina Iyer wrote: > > Add PDC interrupt controller device bindings for SDM845. > > Signed-off-by: Lina Iyer > --- > Changes in v3: > - Fix PDC map, use GIC SPI port number for hwirq > Changes in v2: > - Order by address > --- > arch/arm64/boot/dts/qcom/sdm845.dtsi | 9 +++++++++ > 1 file changed, 9 insertions(+) nit: ${SUBJECT} makes it sounds like you're adding something into the "Documentation/devicetree/bindings" folder, but you're not. Also you probably want the prefix "qcom", not "msm" since it ends up in the "qcom" dir. Also, subject should say that this is the interrupt controller. How about: arm64: dts: qcom: add PDC interrupt controller for sdm845 > diff --git a/arch/arm64/boot/dts/qcom/sdm845.dtsi b/arch/arm64/boot/dts/qcom/sdm845.dtsi > index b72bdb0a31a5..8e15392a6f64 100644 > --- a/arch/arm64/boot/dts/qcom/sdm845.dtsi > +++ b/arch/arm64/boot/dts/qcom/sdm845.dtsi > @@ -1278,6 +1278,15 @@ > #reset-cells = <1>; > }; nit: the above node looks like the tail end of pdc reset controller. That has a unit address of b2e0000. Your unit address is smaller than the the pdc reset controller so you should be above it, not below it. > + pdc: interrupt-controller@b220000 { nit: Maybe the label should be "pdc_intc" not just "pdc". This is just the node for the interrupt controller, not the whole pdc, right? > + compatible = "qcom,sdm845-pdc"; > + reg = <0xb220000 0x30000>; nit: apparently common practice for Quaclomm dts is to pad the address in the "reg" field to all 8 digits. So the above should be: reg = <0x0b220000 0x30000>; NOTE: it's important to _not_ pad the unit address in the node name (so you got that right). Only update the "reg". For context: https://lkml.kernel.org/r/CAD=FV=WrvRH6QpaQ67yw2MFz8RP59ozkSfQC4+OAM_8fAbGZuw@mail.gmail.com -Doug