Received: by 10.223.164.202 with SMTP id h10csp4348183wrb; Mon, 20 Nov 2017 14:04:44 -0800 (PST) X-Google-Smtp-Source: AGs4zMYY3VP78gRSnxhNO6roWgHcqVMp/2IJ0dZAmHuZbg6eDUPuql0PMeIWq+sWLuYyVO5T0dt+ X-Received: by 10.101.64.71 with SMTP id h7mr3122927pgp.144.1511215484414; Mon, 20 Nov 2017 14:04:44 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511215484; cv=none; d=google.com; s=arc-20160816; b=cPeQGo+heomgtXYMd3xQtki/3xYbMKJUN9wUZJZ3aFZ0HBrwwQ/GKogHBuulySuMj3 3hO/pWaE15YCingyeGBao6ZN0uwPBKWADjZSL3SbB0/dCfd4HkqUjbbinCo5FPW4NzpX rMu9Y6b69Vs8KgTg1ZCBxzEsW06yb9itZob8VdlUeWSCA8ixCzH4VosmSt6LHGOC1pms q9/4D3r1ceBGdQZfEEO0UlJ0Iu9ngimzbteLPWQAwnKyYrNsh4NitYSEo2/YhE8hPg2B B4t5CJoEzMQkMU7VNwzfQ68sdStFSCzVLAAmTBk8RYrQRubuWuJ8aWH062OY3s20fFCn keww== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-language :content-transfer-encoding:in-reply-to:mime-version:user-agent:date :from:references:cc:to:subject:arc-authentication-results; bh=l8RAlvnkvIAHZbsRrr55+glnHpS/h01PJIO9AUT0x5Y=; b=SBHBe8eme00lrbuXZKKtxtnz+cxCDF2MkKj6Z6dnkii6/GLqbjIEAnLFRbieyRGF9X 6NLHheSaDAZZg00YQSSVA0IeisVH0pTzM34uJ97aNNvEYwSIsi+H0zStM7WVgMcfbxd0 SAHHh0dpItzULqpSE1jb4mMdkpBQP40UYHdv4y73sBAPD0YR1H9e9hZD9lyurnnKJS1p hfdqMwCCjBf/6kg+l5fIlA7ASr7Zqq9H8Ziv+zmHNYrIjXIyULPuxFHST9ECFCV2vkz4 jUCYzevFnePrCOatHgR66sokrYJFIEiLuydmhk/pJ3VInQ36hsf+cpKE/m73aZnZBJ+P 7B8w== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b188si10086761pfb.7.2017.11.20.14.04.34; Mon, 20 Nov 2017 14:04:44 -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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751869AbdKTWDp (ORCPT + 67 others); Mon, 20 Nov 2017 17:03:45 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:48760 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751834AbdKTWDk (ORCPT ); Mon, 20 Nov 2017 17:03:40 -0500 Received: from pps.filterd (m0098419.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.21/8.16.0.21) with SMTP id vAKLx3J4049225 for ; Mon, 20 Nov 2017 17:03:40 -0500 Received: from e36.co.us.ibm.com (e36.co.us.ibm.com [32.97.110.154]) by mx0b-001b2d01.pphosted.com with ESMTP id 2ec7bw0cwx-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Mon, 20 Nov 2017 17:03:39 -0500 Received: from localhost by e36.co.us.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Mon, 20 Nov 2017 15:03:39 -0700 Received: from b03cxnp08025.gho.boulder.ibm.com (9.17.130.17) by e36.co.us.ibm.com (192.168.1.136) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; Mon, 20 Nov 2017 15:03:35 -0700 Received: from b03ledav005.gho.boulder.ibm.com (b03ledav005.gho.boulder.ibm.com [9.17.130.236]) by b03cxnp08025.gho.boulder.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id vAKM3ZdD8651030; Mon, 20 Nov 2017 15:03:35 -0700 Received: from b03ledav005.gho.boulder.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 10436BE038; Mon, 20 Nov 2017 15:03:35 -0700 (MST) Received: from oc3016140333.ibm.com (unknown [9.41.174.252]) by b03ledav005.gho.boulder.ibm.com (Postfix) with ESMTP id 2F869BE03A; Mon, 20 Nov 2017 15:03:34 -0700 (MST) Subject: Re: [PATCH v5 5/8] dt-bindings: fsi: Add OCC documentation To: Rob Herring Cc: linux-kernel@vger.kernel.org, gregkh@linuxfoundation.org, devicetree@vger.kernel.org, mark.rutland@arm.com, bradleyb@fuzziesquirrel.com, cbostic@linux.vnet.ibm.com, joel@jms.id.au, "Edward A. James" References: <1511207217-14075-1-git-send-email-eajames@linux.vnet.ibm.com> <1511207217-14075-6-git-send-email-eajames@linux.vnet.ibm.com> <20171120213913.6j7qgcgobc2ocqey@rob-hp-laptop> From: Eddie James Date: Mon, 20 Nov 2017 16:03:33 -0600 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: <20171120213913.6j7qgcgobc2ocqey@rob-hp-laptop> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-TM-AS-GCONF: 00 x-cbid: 17112022-0020-0000-0000-00000D08F930 X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00008100; HX=3.00000241; KW=3.00000007; PH=3.00000004; SC=3.00000240; SDB=6.00948789; UDB=6.00479117; IPR=6.00729071; BA=6.00005702; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00018112; XFM=3.00000015; UTC=2017-11-20 22:03:37 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17112022-0021-0000-0000-00005EFCA0BF Message-Id: <647df116-c434-ae4e-8a16-54145f57ab5c@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-11-20_12:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1015 lowpriorityscore=0 impostorscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1709140000 definitions=main-1711200295 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/20/2017 03:39 PM, Rob Herring wrote: > On Mon, Nov 20, 2017 at 01:46:54PM -0600, Eddie James wrote: >> From: "Edward A. James" >> >> Document the bindings for the P9 OCC device. OCC devices are accessed >> through the SBEFIFO. >> >> Signed-off-by: Edward A. James >> --- >> Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt | 18 ++++++++++++++++++ >> 1 file changed, 18 insertions(+) >> create mode 100644 Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt >> >> diff --git a/Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt b/Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt >> new file mode 100644 >> index 0000000..79094f5 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/fsi/ibm,p9-occ.txt >> @@ -0,0 +1,18 @@ >> +Device-tree bindings for P9 On-Chip Controller >> +---------------------------------------------- >> + >> +The POWER9 On-Chip Controller is accessed through the SBEFIFO. All OCC nodes >> +must be child nodes of SBEFIFO devices (see ibm,p9-sbefifo.txt). >> + >> +Required properties: >> + - compatible = "ibm,p9-occ"; >> + >> +Optional properties: >> + - reg = ; : Index for the processor this OCC is on. > reg should be how the parent (SBEFIFO) addresses this device. Would all > of these child devices be a unique processor? Yes. The "processor" here is indicating which P9 processor in the system, not whatever processor(s) this kernel is running on. We use this device tree on the service processor, which can be talking to multiple P9 chips (over SBEFIFO). This could probably be clarified by saying "P9 chip" or something. > > I think a phandle to the cpu node would be more appropriate here. No phandle available; see above, the processor being referenced is a separate entity in the system. Thanks for the quick feedback. Eddie > >> + >> +Examples: >> + >> + occ@1 { >> + compatible = "ibm,p9-occ"; >> + reg = <1>; >> + }; >> -- >> 1.8.3.1 >> From 1584622737281271781@xxx Mon Nov 20 21:40:05 +0000 2017 X-GM-THRID: 1584615741356203285 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread