Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3540755imm; Sun, 17 Jun 2018 23:04:03 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLbYldEF09YKbxmjgNJE0CjiFA+gLvVllv4phTpMOF90f8n6s4T0T15IEPjCTmlcb4dpAJD X-Received: by 2002:a62:e117:: with SMTP id q23-v6mr12137979pfh.75.1529301842914; Sun, 17 Jun 2018 23:04:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529301842; cv=none; d=google.com; s=arc-20160816; b=imX37lQD8mQxy6gIvLGS0ecqNfnnRhdtutVs6Vn68bwmTROKhAW0Xs7I2Ch3++9roy wUnbiu3K30kxmexLeG79fLkhj1dh+e+diQQ0PvIFfQl0mltITPjaRxw1svaTyAs3HTtm WnZpNERl2DHZvOJ7TEdAGe1tAQIMQRH2se4OobMQdyhEYjSG6EgcrXs8I/xpz2iNNtEo EgsPiJ2xGdWMfnpWImfcrqpcL7ts+4DZPV2x9accZR9qX0hOUNYJHtgUNzBjnWQIM3KA TGIE/dwTxgQrMrryVNLxltdDF7sZmAM0/0n9wnh6jb7OykkfDLny2XC8FsSnB4/Or34m +LvA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-transfer-encoding:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature :arc-authentication-results; bh=k6bnrIqU2WNDnd0azggyasmPkNN2l3o9lOrxHseHY1I=; b=0quDyCHzJXPTItoW1T6PEgag+VPp8TYpFXEm9VAgJT7GvbCBFgXzsSS3f7I7WJq5Ho MiGQLrNztPcVnjtAnA9SzDthM1DG3OnpWB7WNVcXguY8PyoTptupnesFHGtSUeHAq9qO f6YdUA/XTtyj43C19ZBpCRo6+U21IKmplup6vwL94ZdKguqo7Qh4QqujzL6ZKYNBUNYG j/N0goPWO5Vib70VC6bMjAVmZNjsTEujAnZhz1hLn+gFhUMLL5kH6gcf/msWN6kmaef+ fUz9yxQOBmhkJo8wGs8Q1nhL5O+tASIeKRJ9lLvGSNa1TmRmIo8kF7ZG/D9z0Djp3/Nc BX/g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=AyvmNVa1; 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=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id s4-v6si11772131pgc.634.2018.06.17.23.03.48; Sun, 17 Jun 2018 23:04:02 -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=@linaro.org header.s=google header.b=AyvmNVa1; 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=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754551AbeFRGDL (ORCPT + 99 others); Mon, 18 Jun 2018 02:03:11 -0400 Received: from mail-wm0-f65.google.com ([74.125.82.65]:53636 "EHLO mail-wm0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753758AbeFRGDJ (ORCPT ); Mon, 18 Jun 2018 02:03:09 -0400 Received: by mail-wm0-f65.google.com with SMTP id x6-v6so11937116wmc.3 for ; Sun, 17 Jun 2018 23:03:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=k6bnrIqU2WNDnd0azggyasmPkNN2l3o9lOrxHseHY1I=; b=AyvmNVa1V0e1ubyrhHZohwFHp6F9oW/Ji9HeRBcmG1QVq4MDQvcp8HXIg92yjPrKb1 uGm0V28/h/tb+ZnfO03OAvWlEJk4kKELxWQVqoNAbaDCyxARjlsIwS7DIGsZwFQQM2Bz 5fEIINC/cEXaH2wuvEX/hHQASybwFMrYSMxTw= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=k6bnrIqU2WNDnd0azggyasmPkNN2l3o9lOrxHseHY1I=; b=BetDBtTHbLYz1MF053KPlZGt/uF229OphAcgy5XqbKKcOntGumWCz4d5iexWsVmFJB mENKmQX5NfYtJGCjjKeUNDHRKccFq1rNp6ohW52LEbdnTyl2duSlm6ybaN1NstdpmV6I BaXxqbEhRCKuw96yym/DiSLZyDbddWIIZQHHK5abJy7xWpwDh6byZ6EKMVaDN/FQ7/kj e9JD1lpsuJQqBD0QipAXyq2IgbYEezkiLCRamu1VnmHYGgCsLyn/3HHZVESVU0buYav9 Pfjmk3/hWveNw8csY/dojNcwq/wAryKY1GDXYIYQ81oFm5TamvfDzIjr4KlgteU3AdS8 2VWQ== X-Gm-Message-State: APt69E1vRF4Sx16Te7GJNTwSLvpNYMwVvJkPxsOhtbk+gwv6590PA0w9 W5J+xCVWgbzG/Q3ZTeBga2EjZw== X-Received: by 2002:a1c:8ec1:: with SMTP id q184-v6mr7064435wmd.48.1529301788633; Sun, 17 Jun 2018 23:03:08 -0700 (PDT) Received: from dell ([95.149.160.78]) by smtp.gmail.com with ESMTPSA id q17-v6sm15008059wrr.7.2018.06.17.23.03.07 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sun, 17 Jun 2018 23:03:07 -0700 (PDT) Date: Mon, 18 Jun 2018 07:03:06 +0100 From: Lee Jones To: Jae Hyun Yoo Cc: Mark Rutland , Rob Herring , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, openbmc@lists.ozlabs.org, Andrew Jeffery , James Feist , Jason M Biils , Joel Stanley , Vernon Mauery Subject: Re: [PATCH linux-next v5 07/13] dt-bindings: mfd: Add a document for PECI client mfd Message-ID: <20180618060306.GD31141@dell> References: <20180601182216.23894-1-jae.hyun.yoo@linux.intel.com> <20180613061637.GI5278@dell> <2b5bbf01-8c9c-bb06-4559-00dae61d95de@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <2b5bbf01-8c9c-bb06-4559-00dae61d95de@linux.intel.com> User-Agent: Mutt/1.9.4 (2018-02-28) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 14 Jun 2018, Jae Hyun Yoo wrote: [...] > > > +Example: > > > + peci-bus@0 { > > > > 0? > > > > Because the actual reg value of the peci bus is reg = <0x0 0x60> but > anyway it's an example. > > > > + #address-cells = <1>; > > > + #size-cells = <0>; > > > > No 'reg' property? 0 is fine, but you really should have a 'reg' property. > This is the actual peci bus node which is a parent of this MFD node: > peci0: peci-bus@0 { > compatible = "aspeed,ast2500-peci"; > reg = <0x0 0x60>; > #address-cells = <1>; > #size-cells = <0>; > interrupts = <15>; > clocks = <&syscon ASPEED_CLK_GATE_REFCLK>; > resets = <&syscon ASPEED_RESET_PECI>; > clock-frequency = <24000000>; > msg-timing = <1>; > addr-timing = <1>; > rd-sampling-point = <8>; > cmd-timeout-ms = <1000>; > }; > > > > + < more properties > > > > > Remove this. > > I dropped all other properties into < more properties > because I want > to show the #address-cells and #size-cells to state its sub-nodes > should have a single unique reg value. Should I remove this line or the > whole parent node? Just drop the properties which are unimportant for the example. You do not need to replace them with anything, especially with a non-DT compliant string. > > > + peci-client@30 { > > > + compatible = "intel,peci-client", "simple-mfd"; > > > + reg = <0x30>; > > > + }; > > > + > > > + peci-client@31 { > > > + compatible = "intel,peci-client", "simple-mfd"; > > > + reg = <0x31>; > > > + }; > > > + }; > > -- Lee Jones [李琼斯] Linaro Services Technical Lead Linaro.org │ Open source software for ARM SoCs Follow Linaro: Facebook | Twitter | Blog