Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp21186304ybl; Sun, 5 Jan 2020 22:48:55 -0800 (PST) X-Google-Smtp-Source: APXvYqwFs0ffFkDKBKnnagG51ij0K1W73MQOFYQ+tRArRlsbUGav50f/ppRRRgxCw32AJTjuZqc+ X-Received: by 2002:a05:6830:144d:: with SMTP id w13mr12454698otp.235.1578293335136; Sun, 05 Jan 2020 22:48:55 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1578293335; cv=none; d=google.com; s=arc-20160816; b=c7VvrzTR+Q44BC3m2VZR/kLj3rWC+7SBZmTYZ1faTeTiblevVXcY+pxdFHYXa5hhNI KIc68Dn99HzGdGdQifQJzyvg5QGx5TNylpk4Hi/J5iSyvEcrUru3Ju0M9Hn0PqLD9VkR OHwGeTB8trjGQnINfBJmnC0JcH6Em6jFr2S3q9NEpjWw0+SRN0JiVLnsjKs3y/c8ppYe Y9UgYNzpttT5vEz16hNntvuStzZGczvu97/gkxdSx2CD6dKAKQaRm9t7JJWr723E1+mF IMHZsdP6pA1hw0amweUxyzOypdMYo3/bREpdngQElTg/ou472DreGTgcQkAMlm/Vk9sK pzeg== 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=OdrXgm2hCs01du+T8UYcvLNB/t0F3MI2dMgKBoMDV58=; b=bSqekOtaCTm/eRMDDEPIpKLCI5OE9j4EBpthSAMXLwMd/vVFP+gPlCMYgNhCDIA8IF 45GObzsZjnNzIwWEO+K8DgF5bXWl7aTxj/z+D6ubbH8QI1NrjH5xGEzBvOq8jDnZTofp CV4jvuRMoTvw0g99gLcNAzBpRfMpmDc7d1m/mmXZE8CZtjqCirqaHHjvSc1OdMPuPI/0 1Cl50SaF1zE+gFx6VmWCh8vNZ3LNrTiHi/b4ReB0tGx3YMuEi7Fil9pftZL9NmuZNmCp Imcrvgxfg2BWQF/WtOADBefsgFgrtAwCyJqKbBTK22AEifBSaBmbNxm7tabB2nshwnVJ 3FIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=jASuboOc; 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 h9si13255920oie.74.2020.01.05.22.48.43; Sun, 05 Jan 2020 22:48:55 -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=@jms.id.au header.s=google header.b=jASuboOc; 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 S1726695AbgAFGrx (ORCPT + 99 others); Mon, 6 Jan 2020 01:47:53 -0500 Received: from mail-qv1-f68.google.com ([209.85.219.68]:34910 "EHLO mail-qv1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726338AbgAFGrx (ORCPT ); Mon, 6 Jan 2020 01:47:53 -0500 Received: by mail-qv1-f68.google.com with SMTP id u10so18579263qvi.2; Sun, 05 Jan 2020 22:47:52 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jms.id.au; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=OdrXgm2hCs01du+T8UYcvLNB/t0F3MI2dMgKBoMDV58=; b=jASuboOcMoZrLoqU/58dsKJaW1ZpB5TQiGXmSHu6SuvnehwUeL1CJeFtoo9nQp0FEs CWESkJ0rOS4Qq0CalTbKpRblev+e3NOD+9gEi5VhN6HHSb3/ITuJAgpp+WZxZZr4IUJs Q0XLeHEEEKx5RnlTMXJZY9O/IjXblGdD9WS1U= 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=OdrXgm2hCs01du+T8UYcvLNB/t0F3MI2dMgKBoMDV58=; b=Rtr+MgrUtFdOHJ5ztaqHA+JaR3fZEfhF+ax64mz6lC3WIcLTYwKm5/JHIjAmyCYnV5 6vZWIW3Vh8yNhHofBy13X62PoP+kpFkseXjQrQ+7t+b2WHB71FYlVa1dWMCUfB4RoVMf W09IljnO3+1qRdPA98Oi0NcKUyC1RFD9v0Ovy7mMdnDAwvgdnAbi3gDguCFx/5HPAPtN YX3uNWZTg3LXDjSgoCzHhg+tatu1aOmEgvFckYch30sMFQzLvJhwxZmHeu73wIlnGqnO 0p0L/2j3j5pTbLVvP4k2gjzFPA5hsWiW47hTuC8EK31h8+t2qbZIeb1dW7w7JF4DMLOO i0Cw== X-Gm-Message-State: APjAAAX/O5634GCqk9wXClqTL5H2KjoRuX1O0nQ61NXuFT3nx+ahu0OY JuKkNsA8XbMmF2Y/vAIbJE1UFYLzdgUJAoB7tv4= X-Received: by 2002:a0c:ead1:: with SMTP id y17mr73914830qvp.210.1578293271759; Sun, 05 Jan 2020 22:47:51 -0800 (PST) MIME-Version: 1.0 References: <1577350475-127530-1-git-send-email-pengms1@lenovo.com> In-Reply-To: <1577350475-127530-1-git-send-email-pengms1@lenovo.com> From: Joel Stanley Date: Mon, 6 Jan 2020 06:47:39 +0000 Message-ID: Subject: Re: [PATCH v1 1/1] ARM: dts: aspeed: update Hr855xg2 device tree To: Andrew Peng Cc: Rob Herring , Mark Rutland , Andrew Jeffery , devicetree , Linux ARM , linux-aspeed , Linux Kernel Mailing List , Benjamin Fair , OpenBMC Maillist , Derek Lin , Yonghui Liu 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 On Thu, 26 Dec 2019 at 08:54, Andrew Peng wrote: > When you have a list of things like below, it's sometimes a good hint that you should be sending one patch for each bullet point. This makes it easier to review. > Update i2c aliases. > Change flash_memory mapping address and size. > Add in a gpio-keys section. > Enable vhub, vuart, spi1 and spi2. > Add raa228006, ir38164 and sn1701022 hwmon sensors. > Remove some unuse gpio from gpio section. unused? > > Signed-off-by: Andrew Peng > Signed-off-by: Derek Lin > Signed-off-by: Yonghui Liu I got two copies of this. I think they are the same. > --- > v1: initial version > > arch/arm/boot/dts/aspeed-bmc-lenovo-hr855xg2.dts | 557 ++++++++++++++++------- > 1 file changed, 382 insertions(+), 175 deletions(-) > > diff --git a/arch/arm/boot/dts/aspeed-bmc-lenovo-hr855xg2.dts b/arch/arm/boot/dts/aspeed-bmc-lenovo-hr855xg2.dts > index 8193fad..e1386d4 100644 > --- a/arch/arm/boot/dts/aspeed-bmc-lenovo-hr855xg2.dts > +++ b/arch/arm/boot/dts/aspeed-bmc-lenovo-hr855xg2.dts > @@ -15,14 +15,21 @@ > compatible = "lenovo,hr855xg2-bmc", "aspeed,ast2500"; > > - flash_memory: region@98000000 { > + flash_memory: region@9EFF0000 { > no-map; > - reg = <0x98000000 0x00100000>; /* 1M */ > + reg = <0x9EFF0000 0x00010000>; /* 64K */ Do you really use 64K here, or was this a workaround for the lpc-ctlr driver requiring a memory region? If it's a workaround you can now drop the memory region phandle, as the driver works without it. > +&spi2 { > status = "okay"; > pinctrl-names = "default"; > - pinctrl-0 = <&pinctrl_txd1_default > - &pinctrl_rxd1_default>; > + pinctrl-0 = <&pinctrl_spi2ck_default > + &pinctrl_spi2cs0_default > + &pinctrl_spi2miso_default > + &pinctrl_spi2mosi_default>; > + > + spidev@0 { > + status = "okay"; > + compatible = "aspeed,spidev"; > + reg = < 0 >; > + spi-max-frequency = <50000000>; > + }; This is for an out of tree driver? We discourage that, and prefer you submit the driver upstream for review before adding it to the device tree. Please drop the sbidev bit from your next version. > + > + flash@0 { > + compatible = "jedec,spi-nor"; > + m25p,fast-read; > + label = "fpga"; > + reg = < 0 >; > + spi-max-frequency = <50000000>; > + status = "okay"; > + }; > }; > +&vuart { > status = "okay"; > + auto-flow-control; > + espi-enabled = <&syscon 0x70 25>; Is this the same as the upstreamed aspeed,sirq-polarity-sense? Please review https://git.kernel.org/torvalds/c/8d310c9107a2a3f19dc7bb54dd50f70c65ef5409. I think you will find you can drop the espi-enabled property as aspeed-g5.dtsi now contains the same information. > + pcie_slot12: i2c@4{ > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <4>; > + }; > + > + switch0_i2c5:i2c@5{ a space after the : > + #address-cells = <1>; > + #size-cells = <0>; > + reg = <5>; > + eeprom@54 { > + compatible = "atmel,24c04"; > + pagesize = <16>; > + reg = <0x54>; > + }; > }; > }; > }; > @@ -216,13 +377,43 @@ > }; > > VR@45 { > - compatible = "pmbus"; > + compatible = "raa228006"; Please send this change once you've had your pmbus driver accepted by Guneter. In the mean time I suggest dropping it from v2 so we can merge the other changes. > reg = <0x45>; > }; > }; > > + CPU0_VCCIN@60 { Convention is to use lower case for node names. > + compatible = "raa228006"; > + reg = <0x60>; > + }; > +