Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp660596ybi; Fri, 2 Aug 2019 02:10:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqxDDCU42LxqVSk/n38LPo+AHBnKmdUEyE/Tq3UoP+okHPjcfk16DYfNePxfwFn8ltEUvl3J X-Received: by 2002:a63:9d43:: with SMTP id i64mr7450071pgd.306.1564736999853; Fri, 02 Aug 2019 02:09:59 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564736999; cv=none; d=google.com; s=arc-20160816; b=P322ITsvoynrz+DA7tROVMeybPY0/Fuz9Dq+sxQ5q3Kh09pbkrcTp1S8upLYosw/gz GvDIZNj1Au05Eh5w0qxh3LwZdvYpfOcFvmGcQ3FhFwmW9TgIg0JyN99Wn+jNoyrVV45P tclvrNbx/6n+mhMGsE34vw51Eh6CjvXRH4yzaq3eg8g2+BTQAlpk48gTMXXNUGIVsCj8 CA4wrgZbQd3C2uUHvWVRdc9hBUPK7M07J1Wu7jT9HorNkmquT/k+YdVA70xSHpl+EdBW fnCZG8D3UxVVPfM3T8NoDO5E6rregCgDOE/GHHrXpYNNOvoovkYcGZvRQsSk7T7irRWR 6p6A== 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=Z32U+47NlX9GSdYxrOMIJkrmirJtRbWII8nnxF0TuFc=; b=DkXxpvpke0NEfnOsMKzUIJsw1qTfZ1bRflmGVCilK8ENE6kUNolKkrgTArfT0zva9L VXd6dswwiUSdhN2Z7UjPIbo4cqFLVZJNIxhcbT1ilhK4WJ8yiEkev4rFGCfUK4iQZ6J7 zvxmMTCK/m7F/c6OV2TT9F8/93g/Z5zUxraWDzzgngWZTlcJoZ6VMQsaSvUogh4GkEO9 mZzz7TgjwMLEg8i/OvtVEpMUJmWxX5XAdG1A+LLHBVdBKHaVu0xyun6k950M6skEFLZw hBIA9I9MjZ+HumYvyOiBGO/n0O+mbBWrzTlj1dNM4CFwFnYe0Kq5ccvNgk0uU9VZdhR9 iSlg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@jms.id.au header.s=google header.b=Q4E3j8UI; 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 r18si57823479pgl.173.2019.08.02.02.09.43; Fri, 02 Aug 2019 02:09:59 -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=@jms.id.au header.s=google header.b=Q4E3j8UI; 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 S1732440AbfHBFZ4 (ORCPT + 99 others); Fri, 2 Aug 2019 01:25:56 -0400 Received: from mail-qk1-f193.google.com ([209.85.222.193]:46254 "EHLO mail-qk1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727403AbfHBFZ4 (ORCPT ); Fri, 2 Aug 2019 01:25:56 -0400 Received: by mail-qk1-f193.google.com with SMTP id r4so53810550qkm.13; Thu, 01 Aug 2019 22:25:55 -0700 (PDT) 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=Z32U+47NlX9GSdYxrOMIJkrmirJtRbWII8nnxF0TuFc=; b=Q4E3j8UI4qdvR1yVPLhpbG1bb2LoSf+oJmdOKYrZ3l9Nzeyu1LLSDKLj9UFAKvfJaI 800cjW7JoCr+RIUKPQLGO6ejfXvXGY6mKepHIVWH5rn5JdR2KUX8ztVmw3dnJRU4YSec 29wmTpZyk9irZGeI4aKHHK4rPfezHs2y0YY5U= 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=Z32U+47NlX9GSdYxrOMIJkrmirJtRbWII8nnxF0TuFc=; b=F1XDG4vJSh3YpnxQLIj9PxVNxaXkQTIwQjdtu/VMkOIb1MbN8bOQ+YjSx68oMboB2Y Oe3idESpuNOOIek9mj2DlbRw4rYGLtCwfghthVVbW3/SPZmisSTK1299W81/kTOH/m8I DOuCFkdJ7M6YMBtxb3U5AG7ynFZTrTaumqJi2DbD/AvnEDl5PJszrvIqNLFcEA6YEDv3 Y4OLDXn0OsuKIexUfq5ALberSSJExToNEvBLUEptGezlf8gTnw2bbKkKuC9fRto5J1TH qx4QpFrhzx4NCXtPGhC1NV1xQqq6PwbF6qWL1CiNGQbf8Bd+ozN4DWP/K/Fh7CzO/pFQ PbNA== X-Gm-Message-State: APjAAAUpM/qc4SZrzpKMfMkFxCy+3CLmnwymT4N+mheoXsjaxpxUSOq5 XDQSCCy7VlD/8YivYQbcNkbkGtLpP8DKLfmT5Fs= X-Received: by 2002:a05:620a:16d6:: with SMTP id a22mr89485291qkn.414.1564723555381; Thu, 01 Aug 2019 22:25:55 -0700 (PDT) MIME-Version: 1.0 References: <20190802041010.1234178-1-taoren@fb.com> <606273F4-E021-4AAF-9F59-F363E4FFF92A@fb.com> In-Reply-To: <606273F4-E021-4AAF-9F59-F363E4FFF92A@fb.com> From: Joel Stanley Date: Fri, 2 Aug 2019 05:25:43 +0000 Message-ID: Subject: Re: [PATCH v2] ARM: dts: aspeed: Add Facebook Wedge100 BMC To: Tao Ren Cc: Rob Herring , Mark Rutland , Andrew Jeffery , devicetree , Linux ARM , "linux-aspeed@lists.ozlabs.org" , Linux Kernel Mailing List , OpenBMC Maillist 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 Fri, 2 Aug 2019 at 05:20, Tao Ren wrote: > > On 8/1/19, 9:21 PM, "Joel Stanley" wrote: > > > On Fri, 2 Aug 2019 at 04:10, Tao Ren wrote: > >> > >> Add initial version of device tree for Facebook Wedge100 AST2400 BMC > >> platform. > >> > >> Signed-off-by: Tao Ren > >> Reviewed-by: Andrew Jeffery > >> --- > >> Changes in v2: > >> - remove "debug" from bootargs. > > > > Thanks. I applied wedge40 and then this one fails to apply due to > > conflicts in the Makefile. Next time you have two patches, send them > > as a series they apply one atop the other. > > I thought about asking you if I should send them as a series although they are logically independent patches.. > Sorry about that and I will do so for future patches. > > > The naming of these two files suggests they come from a family. I > > noticed there's very minor differences, a pca9548 switch and the use > > of a watchdog. > > > > Are these device trees complete? If yes, do you think it's worthwhile > > to have a common wedge description in eg. > > aspeed-bmc-facebook-wedge.dtsi, and put the unique description in > > respective dts board files? > > > > The upside of this is reduced duplication. > > > > If you have a reason not to, then that is okay and we can leave it as > > you submitted them. > > Thank you for the suggestion. I'm also considering moving common stuff into "dtsi" file, but let me take care of it in a separate patch, mainly because: > 1) I have one more BMC platform (galaxy100) which is also similar to wedge. > I haven't started the platform, but once I have galaxy100 device tree ready, it would be easier for me to extract common part. > 2) the device tree is not complete yet. > For example, all the i2c devices are still created from userspace. > I'm trying to move the logic from userspace to device tree but I haven't decided what to do with those cpld/fpga devices. Okay, thanks. I've applied both of these to the aspeed tree for 5.4. Cheers, Joel