Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp945904ybx; Wed, 30 Oct 2019 07:37:58 -0700 (PDT) X-Google-Smtp-Source: APXvYqzztsM8OaOpG8yBgW2Wi2nxQvwubYUSDJ6uWailf3JuH8R5zVfk1LbZd1BXF67KMVYixXV+ X-Received: by 2002:aa7:d305:: with SMTP id p5mr32873265edq.80.1572446277980; Wed, 30 Oct 2019 07:37:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572446277; cv=none; d=google.com; s=arc-20160816; b=eS2ELFHF1p4xZXYde3dJcWbDTh/8NnJ0tgYtl7RANzxJLwnf1mumkCa567l29Nb68r +LjedCxYVlCZcA1Y1OmvMrA4u6F5zhgCFlfgTo5Mh4O+X6h89OYLBGzpA1AiAUuMpTgi ydxhAeQGmjEsbd8lNbvYmTdTNk199xG6sSMZH210JWHmEDoNJiE3rt8Buua5SGL288f0 l+5FxiTQONU2jPpOOvko+WH66R+2Mp55hddkpmSQ1idrIMWX0RBYvPVZNLhh6hOtuz+1 oEdpZI0bX90oy0tkvzxJDq2S0oyx2W3T3o+/dlfXK+B6hpe+ejcifG3W5fCqtBQvG4ly 40Sg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:date:user-agent:cc:to:subject:from :references:in-reply-to:content-transfer-encoding:mime-version :message-id:dkim-signature; bh=OnvHWKf31kU5T7G+GRyW8KQ7oVqd5iVGELerKYGud0Q=; b=fZWh7WRnkzD9d5xB1CHh09zNuZMQfAIRFjtHSAnKA00HWIMJDEIb7qacI1egrTSujv tCK1EuTiVIf48QKcEiZj5eBYDkwG5Ii/dFlWs/Xm9FqW3iQmVZMSksz9Irm3v+IdfEEP y0pB8x6cBwigfI6/A2geua8UeWeRpy1naINulLG8D76qfV7T3yj2cqU2BsSPdfWsKu/q q7aWMlEca9m/xdMCqzZfFMaxIJIn6t5VgifWgK2lBLXZ47uj50nYyUQ/Cuwkf8Uhfgwg Qrt0+96Bi5mKSQbwISE62DqqJ7BcF2uz1FFXIJE14t+19lTmHvey4RO045e7DR9gQsSA lsFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=Elp7O9BU; 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 b14si1595059edf.199.2019.10.30.07.37.33; Wed, 30 Oct 2019 07:37:57 -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=@chromium.org header.s=google header.b=Elp7O9BU; 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 S1726427AbfJ3OhF (ORCPT + 99 others); Wed, 30 Oct 2019 10:37:05 -0400 Received: from mail-pg1-f195.google.com ([209.85.215.195]:34403 "EHLO mail-pg1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726137AbfJ3OhE (ORCPT ); Wed, 30 Oct 2019 10:37:04 -0400 Received: by mail-pg1-f195.google.com with SMTP id e4so1627372pgs.1 for ; Wed, 30 Oct 2019 07:37:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=message-id:mime-version:content-transfer-encoding:in-reply-to :references:from:subject:to:cc:user-agent:date; bh=OnvHWKf31kU5T7G+GRyW8KQ7oVqd5iVGELerKYGud0Q=; b=Elp7O9BUncdP/kE50ELNV29c9NTF1imKvURZMH5sXZIfYxerNFW5ykpzny2RkydmGC BOv+NV204Y2aYpqRFT+f/3TKiNyPH1T5LdYJJ15VZ4XW5D0XZlBfIzsy3T80zkSyl/mf w4xHnpNIIYyzH55a3XtRaOmRlzzLYRj+CyW0k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:message-id:mime-version :content-transfer-encoding:in-reply-to:references:from:subject:to:cc :user-agent:date; bh=OnvHWKf31kU5T7G+GRyW8KQ7oVqd5iVGELerKYGud0Q=; b=gTbvxHG2Ikk/a+nQt8Nejb+j1g7Kc6P4yuy6BErO86l0fvlv9qk8kfg08lhZSxIHTJ ckw8d9iYRDG0DWyCWtjEF6pS5yw+hMzqPfgPi9xCRkB2TkTrcTx//yabC9dI13QBgPQM 8u65oa5g/NdGc3xdJJ1+tm3HA5DJjDvtFT9dnnFUTiucrInyPaiCGgfsVOdUdUJmic2Q PL1bGzSIxLS+HPos1GmX5Vxewm6vH0i+5/+cbPBrBN69UVQzfTckz5PNslasNo4CIyUT a/AY5BLQn0A+I/5YE98oQev5CTqkGMPuCjCHqBUSE62E7OTHezb8wWNC7ZDaq/+QgUFh UWOw== X-Gm-Message-State: APjAAAVLvaaoMSPBy3ff1P6idvgM/apJbbgz4+yQZKAIbiRLdySbHD5U xYNQi2p9HV6sXm/rQbjJwK4f6Q== X-Received: by 2002:aa7:8421:: with SMTP id q1mr34967091pfn.174.1572446222424; Wed, 30 Oct 2019 07:37:02 -0700 (PDT) Received: from chromium.org ([2620:15c:202:1:fa53:7765:582b:82b9]) by smtp.gmail.com with ESMTPSA id e8sm128023pga.17.2019.10.30.07.37.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 30 Oct 2019 07:37:01 -0700 (PDT) Message-ID: <5db9a00d.1c69fb81.c3df6.04eb@mx.google.com> Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable In-Reply-To: <78809ef8464c46018f3803454c1165ab@codeaurora.org> References: <20191023090219.15603-1-rnayak@codeaurora.org> <20191023090219.15603-8-rnayak@codeaurora.org> <5db86bb1.1c69fb81.dc254.ec0b@mx.google.com> <78809ef8464c46018f3803454c1165ab@codeaurora.org> From: Stephen Boyd Subject: Re: [PATCH v3 07/11] arm64: dts: qcom: sc7180: Add SPMI PMIC arbiter device To: kgunda@codeaurora.org Cc: Rajendra Nayak , agross@kernel.org, bjorn.andersson@linaro.org, robh+dt@kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, mka@chromium.org User-Agent: alot/0.8.1 Date: Wed, 30 Oct 2019 07:37:00 -0700 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Quoting kgunda@codeaurora.org (2019-10-29 23:06:43) > On 2019-10-29 22:11, Stephen Boyd wrote: > > Quoting Rajendra Nayak (2019-10-23 02:02:15) > >> diff --git a/arch/arm64/boot/dts/qcom/sc7180.dtsi=20 > >> b/arch/arm64/boot/dts/qcom/sc7180.dtsi > >> index 04808a07d7da..6584ac6e6c7b 100644 > >> --- a/arch/arm64/boot/dts/qcom/sc7180.dtsi > >> +++ b/arch/arm64/boot/dts/qcom/sc7180.dtsi > >> @@ -224,6 +224,25 @@ > >> }; > >> }; > >>=20 > >> + spmi_bus: spmi@c440000 { > >> + compatible =3D "qcom,spmi-pmic-arb"; > >> + reg =3D <0 0xc440000 0 0x1100>, > >=20 > > Please pad out the registers to 8 numbers. See sdm845. > Ok.. Will address it in the next series. > >=20 > >> + <0 0xc600000 0 0x2000000>, > >> + <0 0xe600000 0 0x100000>, > >> + <0 0xe700000 0 0xa0000>, > >> + <0 0xc40a000 0 0x26000>; > >> + reg-names =3D "core", "chnls", "obsrvr", "intr= ",=20 > >> "cnfg"; > >> + interrupt-names =3D "periph_irq"; > >> + interrupts-extended =3D <&pdc 1=20 > >> IRQ_TYPE_LEVEL_HIGH>; > >=20 > > This is different than sdm845. I guess pdc is working? > >=20 > Yes. For SDM845 pdc controller support was not yet added. That's why=20 > still the GIC interrupt is used. > Where as for SC7180 the same is added with=20 > https://lore.kernel.org/patchwork/patch/1143335/. >=20 > Yes. pdc is working. Cool. The patch that adds pdc to the DT should come before this one then. In reality, it would be better if it was all squashed down into one big commit that just introduces the SoC file and one commit for PMICs and then one commit for the idp board. Then we don't have this ordering problem.