Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp8727imu; Wed, 2 Jan 2019 12:56:05 -0800 (PST) X-Google-Smtp-Source: ALg8bN5IWdWxiwO6x7ZTvtFIMuM9baCjNcCbgD4HVMnxrITLUexHJuH/FTrCD3M5d+on2s2RbdZO X-Received: by 2002:a17:902:b48b:: with SMTP id y11mr43274999plr.200.1546462565448; Wed, 02 Jan 2019 12:56:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1546462565; cv=none; d=google.com; s=arc-20160816; b=nk84oIfrNBno8cncTkC1koxjF4WhU0w918fdtZwp0dJFHIzxjobLHaxtuBlFzxeFOu x+7hKiLGi/v691OF3wbBL7djYX2tFQuRHMQ5yA9nOQa+B9YYzqHeO7LRe+MZhgZqfAYF QETekYFH+n/lDVx2Ji53/HJgTF5T98s4D7M2ZOXAjfNmaS9TCarZfFB5EUs897ClOEXL EiARbproAonKZrTIGna1tBlkmokkWOWdEd7XiHO2G6PWITcPB1liuaQ4/bRC/3xqfUQn AbbVMly0HxWUjE1VKODR9k7bjLEHtj86IzZUV+B+j7dUss1htncXPJiLFTWMVVFwvi+r BbZg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=D2RCG95DzrKyWzsfNAwrerqSZZ++y4o9Ry5gUTJaeHE=; b=bRUKr9E2YW4KXO3KSfB54Gpbwv27aOz9NyZi9ZqC+jwBqecLpbNeeODzzlYpTKtksB Fo0Iiu4u7na+IVKlyjt+EYwFQSQYzmihqvaVC2EhHih7TYTh3Y9KqsmGNo4HzI7DpYcQ 0PBMG/EbIckNqF6X43OfUPAwlXnSmU2Sc1yB5ETyfpO6p8oyy2lcohImiquOVPPRUtRh Pirj9dI7Ml050pHRoZAGjZ5xYrEcZLQCQChM5Lv6QNYg6OaxFtZKqDJxEScAl+ioITNW aGeFPHoMOHgC7mFWc/My5TvTIqOy5DJex/Ares6pM6ZkcSAR91QF0l8rVb2t+7JpAO8k x42Q== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 82si10415904pfa.115.2019.01.02.12.55.45; Wed, 02 Jan 2019 12:56:05 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728049AbfABS32 (ORCPT + 99 others); Wed, 2 Jan 2019 13:29:28 -0500 Received: from mga14.intel.com ([192.55.52.115]:41253 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727130AbfABS31 (ORCPT ); Wed, 2 Jan 2019 13:29:27 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Jan 2019 10:29:27 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,431,1539673200"; d="scan'208";a="263911103" Received: from yoojae-mobl1.amr.corp.intel.com (HELO [10.7.153.143]) ([10.7.153.143]) by orsmga004.jf.intel.com with ESMTP; 02 Jan 2019 10:29:26 -0800 Subject: Re: [PATCH v9 07/12] dt-bindings: mfd: Add a document for PECI client MFD To: Lee Jones Cc: Rob Herring , Jean Delvare , Guenter Roeck , Mark Rutland , Joel Stanley , Andrew Jeffery , Jonathan Corbet , Greg Kroah-Hartman , Gustavo Pimentel , Kishon Vijay Abraham I , Lorenzo Pieralisi , "Darrick J . Wong" , Eric Sandeen , Arnd Bergmann , Wu Hao , Tomohiro Kusumi , "Bryant G . Ly" , Frederic Barrat , "David S . Miller" , Mauro Carvalho Chehab , Andrew Morton , Randy Dunlap , Philippe Ombredanne , Vinod Koul , Stephen Boyd , David Kershner , Uwe Kleine-Konig , Sagar Dharia , Johan Hovold , Thomas Gleixner , Juergen Gross , Cyrille Pitchen , linux-hwmon@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-doc@vger.kernel.org, openbmc@lists.ozlabs.org, James Feist , Jason M Biils , Vernon Mauery References: <20181218210417.30140-1-jae.hyun.yoo@linux.intel.com> <20181218210417.30140-8-jae.hyun.yoo@linux.intel.com> <20181221144754.GS13248@dell> From: Jae Hyun Yoo Message-ID: Date: Wed, 2 Jan 2019 10:29:26 -0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.3 MIME-Version: 1.0 In-Reply-To: <20181221144754.GS13248@dell> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Lee, On 12/21/2018 6:47 AM, Lee Jones wrote: > On Tue, 18 Dec 2018, Jae Hyun Yoo wrote: > >> This commit adds a dt-bindings document for PECI client MFD. >> >> +* Intel PECI client bindings >> +PECI (Platform Environment Control Interface) is a one-wire bus interface that >> +provides a communication channel from PECI clients in Intel processors and >> +chipset components to external monitoring or control devices. PECI is designed >> +to support the following sideband functions: >> + >> +- Processor and DRAM thermal management >> +- Platform Manageability >> +- Processor Interface Tuning and Diagnostics >> +- Failure Analysis >> + >> +Required properties: >> +- compatible : Should be "intel,peci-client". >> +- reg : Should contain address of a client CPU. According to the PECI >> + specification, client addresses start from 0x30. >> + >> +Example: >> + peci-bus@0 { >> + compatible = "vendor,soc-peci"; >> + reg = <0x0 0x1000>; >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + peci-client@30 { >> + compatible = "intel,peci-client"; >> + reg = <0x30>; >> + }; >> + >> + peci-client@31 { >> + compatible = "intel,peci-client"; >> + reg = <0x31>; >> + }; > > The PECI Client driver (masquerading as an MFD driver in this set) > doesn't actually do anything special. Instead of detailing it here, > register the child devices directly instead. > Main purpose of the PECI client driver is providing 'reg' value to its child devices. If I add the child nodes directly, compiler will make warnings while building dtb because the child nodes are using the same unit address. Thanks, Jae