Received: by 2002:ab2:1c04:0:b0:1f7:53ba:1ebe with SMTP id f4csp45870lqg; Fri, 26 Apr 2024 08:21:53 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUgYo21qvDNJ9tMy6ClpxQ9AVSnP9PUChreb5SR3KLSfZ2PqVQD4OGg3imbVwUUjC3B4SXTfKolGsmiz7laWO+PL5awcX9C9MW4apVSiA== X-Google-Smtp-Source: AGHT+IFrEK4G6D1Ejx0/pkuL42N2+xWEwhJXy4omynerGYzmaGQyUwpjyqpGZNca1ibo2m4I/KxO X-Received: by 2002:a05:6a00:2354:b0:6ed:e1c:102b with SMTP id j20-20020a056a00235400b006ed0e1c102bmr3885166pfj.4.1714144913141; Fri, 26 Apr 2024 08:21:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714144913; cv=pass; d=google.com; s=arc-20160816; b=wDN3T50GApbdp4XSpDDScQcFWTV/VWumadT5k/heAORyQ7v3HoHp5tJQnwQ8rwgHnH 5wjkm6tEmcfNueGWDbs7l1IE1BE6Hu4ITRntzAZLUTtTfzBcnb+ksUz/jA/6W4UoFsAP RrraZQXq8tGmxmlNGfsq472o6Var/SplB3WG5UqPVPF4yP9bDxpu/p3IupXk1reByD4Z pxIrJLLlJNB0IHFOGsbfNlucY98xdsTlwEaE1uEznmbqJ/B47S1labbgk3pepOeVuXoq GdFmBLYfP+K1UDeFI3PNIZixkiv5HTh4uC6Sem2nUYEOdc8d3paxELMV2D7syt/OjsO7 vq6A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:date:message-id:dkim-signature; bh=knjPt7riiWcL2lgPDZ/MfxzG+WgZ7apnrjPl9JzlbjA=; fh=cRawPwqSvjYJRXGWKEVd1ElXmDSD8xlaUASQ6xV2o04=; b=MgvWCpr9QMR253FR13hg9wbyh2YaewEKphPXuNyCN9GDmTdzT/ge5in/nyCxTRI4j9 bYkbPHsUQdC6AJox2HFOKKEbj6DVvEMYwDOc+PQbbQczNpa4mTyk/q4SWbnp1VnatOnb XJfB+QbFLr/XOh5pK3+adWt5Elvo73TTMK1RDZuxq+3x7f6XByz07Mzoyi31z8MDYeMJ +YC9FgeqzgAqqdw7jJlTC0IhqzbDbqWYjwLDE4CqJzDIG9l+S356pYROu0sUszcBJlIk GDC8T6Zfvfkr+GEjQY8sIWFzwutvXdwSNqypfpCjHmjUyDfGdejLbjAa3qwF1IUeB1Fn znpw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=DBQ7FmBM; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-160261-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160261-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id k197-20020a6284ce000000b006eb3c2bbe38si1109274pfd.405.2024.04.26.08.21.52 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 26 Apr 2024 08:21:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-160261-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b=DBQ7FmBM; arc=pass (i=1 spf=pass spfdomain=linux.ibm.com dkim=pass dkdomain=ibm.com dmarc=pass fromdomain=linux.ibm.com); spf=pass (google.com: domain of linux-kernel+bounces-160261-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-160261-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E447C28AD6C for ; Fri, 26 Apr 2024 15:19:52 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 655D5168B1E; Fri, 26 Apr 2024 15:14:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="DBQ7FmBM" Received: from mx0b-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com [148.163.158.5]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id D201E157460; Fri, 26 Apr 2024 15:14:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=148.163.158.5 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714144450; cv=none; b=Of8VZC3CWa9qLMFqqcCIg+nKYfFBh3NF8/fPNfmH3uQRjN5jR+rNqMtLhTOxcPpG4btt41SHN5+IRXtXLisy4VtO95pqS4ie4cpgfz9sah+IowtDT1ZH4+2bvmqyxCyZW66ZmdlkKdDml/zBtbzJ0mk6ULjeLayPEIVZHrynvUA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714144450; c=relaxed/simple; bh=PxYiQVChcGu6Cg9Cv4EGtSRaXxFMnID1zYd6tbfGmU4=; h=Message-ID:Date:Subject:To:Cc:References:From:In-Reply-To: Content-Type:MIME-Version; b=Xn4U4vLwqMf02DvKYC2E4+nvZgyICbfHWqW9i4IOgyabpFNHCgj1G2xvfbOXx7OyIL/iKqmweKq1RufjDFjr9E2E5DpkfMTRGcPIen0rvYLwqfQ6P6itM2Ym1yWu879hMx2g6cWdIyiVERpw+pFAQCoiKF8ohxmhNfVUcze4CDE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com; spf=pass smtp.mailfrom=linux.ibm.com; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b=DBQ7FmBM; arc=none smtp.client-ip=148.163.158.5 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.ibm.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.ibm.com Received: from pps.filterd (m0356516.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 43QFDHrq012308; Fri, 26 Apr 2024 15:13:57 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pp1; bh=knjPt7riiWcL2lgPDZ/MfxzG+WgZ7apnrjPl9JzlbjA=; b=DBQ7FmBMnBkj858btshj3s5o1eocMSgMw9AVvaZYk4emnjXsEua2K+yhUw0wiFUMhQLk r/AsJWVsnFqV6yohNuR4xI4jgoa3BTiXmGiDH8bfvl1DFKIKbmPxtPCnbsHn/fRaPeLe iqCzmcl2PTOhr8ttq4odEwCi7GVNJJGKUY+qjysyCmNDfPyxShoqx0iFowmNmLQOyQyR unMl3S1LOTWoRja4f+4N05A5HBfchLQJ7neqYr18qO6eiZaeRdo8p/xtTDism0BnatbM 6jP8dxs6wQIgxZCvOQIcd0TD/oKO9gKqIj43YG931CZJX/c3xuHbWSYJzt0zIxFJA9/V VQ== Received: from ppma21.wdc07v.mail.ibm.com (5b.69.3da9.ip4.static.sl-reverse.com [169.61.105.91]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3xreq4001t-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Apr 2024 15:13:56 +0000 Received: from pps.filterd (ppma21.wdc07v.mail.ibm.com [127.0.0.1]) by ppma21.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 43QC4WwH023050; Fri, 26 Apr 2024 15:13:56 GMT Received: from smtprelay07.dal12v.mail.ibm.com ([172.16.1.9]) by ppma21.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3xms1pgdby-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 26 Apr 2024 15:13:56 +0000 Received: from smtpav06.dal12v.mail.ibm.com (smtpav06.dal12v.mail.ibm.com [10.241.53.105]) by smtprelay07.dal12v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 43QFDrAs39584150 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Fri, 26 Apr 2024 15:13:55 GMT Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 629455805E; Fri, 26 Apr 2024 15:13:53 +0000 (GMT) Received: from smtpav06.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 18D705805D; Fri, 26 Apr 2024 15:13:53 +0000 (GMT) Received: from [9.61.156.17] (unknown [9.61.156.17]) by smtpav06.dal12v.mail.ibm.com (Postfix) with ESMTP; Fri, 26 Apr 2024 15:13:53 +0000 (GMT) Message-ID: <24e7644e-f9ff-4a4b-8883-33b2f69b36cf@linux.ibm.com> Date: Fri, 26 Apr 2024 10:13:52 -0500 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 08/14] dt-bindings: fsi: ast2600-fsi-master: Switch to yaml format To: Krzysztof Kozlowski , linux-aspeed@lists.ozlabs.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsi@lists.ozlabs.org, linux-spi@vger.kernel.org, linux-i2c@vger.kernel.org, lakshmiy@us.ibm.com, robh@kernel.org, krzk+dt@kernel.org, conor+dt@kernel.org, joel@jms.id.au, andrew@codeconstruct.com.au References: <20240425213701.655540-1-eajames@linux.ibm.com> <20240425213701.655540-9-eajames@linux.ibm.com> <5822e000-01d3-442c-bb52-04fab87cb3da@kernel.org> Content-Language: en-US From: Eddie James In-Reply-To: <5822e000-01d3-442c-bb52-04fab87cb3da@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed X-TM-AS-GCONF: 00 X-Proofpoint-ORIG-GUID: I_6OW_C7AvfZQfQhOl_hEsM8Rt2yt3s_ X-Proofpoint-GUID: I_6OW_C7AvfZQfQhOl_hEsM8Rt2yt3s_ Content-Transfer-Encoding: 7bit X-Proofpoint-UnRewURL: 0 URL was un-rewritten Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1011,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-04-26_12,2024-04-26_02,2023-05-22_02 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 lowpriorityscore=0 malwarescore=0 impostorscore=0 suspectscore=0 spamscore=0 phishscore=0 priorityscore=1501 bulkscore=0 mlxlogscore=999 mlxscore=0 adultscore=0 clxscore=1015 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2404010000 definitions=main-2404260102 On 4/26/24 01:25, Krzysztof Kozlowski wrote: > On 25/04/2024 23:36, Eddie James wrote: >> Switch to yaml for the AST2600 FSI master documentation. >> >> Signed-off-by: Eddie James >> --- >> .../fsi/aspeed,ast2600-fsi-master.yaml | 72 +++++++++++++++++++ >> .../bindings/fsi/fsi-master-aspeed.txt | 36 ---------- >> 2 files changed, 72 insertions(+), 36 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml >> delete mode 100644 Documentation/devicetree/bindings/fsi/fsi-master-aspeed.txt >> >> diff --git a/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml b/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml >> new file mode 100644 >> index 000000000000..f053e3e1d259 >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/fsi/aspeed,ast2600-fsi-master.yaml >> @@ -0,0 +1,72 @@ >> +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/fsi/aspeed,ast2600-fsi-master.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Aspeed FSI master >> + >> +maintainers: >> + - Eddie James >> + >> +description: >> + The AST2600 and later contain two identical FSI masters. They share a >> + clock and have a separate interrupt line and output pins. >> + >> +properties: >> + compatible: >> + enum: >> + - "aspeed,ast2600-fsi-master" >> + - "aspeed,ast2700-fsi-master" > This wasn't tested. No quotes. Do you see any other example like this? Strangely this passes make dt_binding_check for me... And Rob's bot didn't seem to catch it either. Just an oversight, I'll fix it. > >> + >> + reg: >> + maxItems: 1 >> + >> + clocks: >> + maxItems: 1 >> + >> + cfam-reset-gpios: >> + maxItems: 1 >> + description: >> + Output GPIO pin for CFAM reset >> + >> + fsi-routing-gpios: >> + maxItems: 1 >> + description: >> + Output GPIO pin for setting the FSI mux (internal or cabled) >> + >> + fsi-mux-gpios: >> + maxItems: 1 >> + description: >> + Input GPIO pin for detecting the desired FSI mux state >> + >> + interrupts: >> + maxItems: 1 >> + >> +allOf: >> + - $ref: fsi-controller.yaml# > This goes after required: Ack. > >> + >> +required: >> + - compatible >> + - reg >> + - clocks >> + - interrupts >> + >> +unevaluatedProperties: false >> + >> +examples: >> + - | >> + #include >> + #include >> + #include >> + fsi-master@1e79b000 { >> + compatible = "aspeed,ast2600-fsi-master"; >> + reg = <0x1e79b000 0x94>; >> + interrupts = ; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&pinctrl_fsi1_default>; >> + clocks = <&syscon ASPEED_CLK_GATE_FSICLK>; >> + fsi-routing-gpios = <&gpio0 ASPEED_GPIO(Q, 7) GPIO_ACTIVE_HIGH>; >> + fsi-mux-gpios = <&gpio0 ASPEED_GPIO(B, 0) GPIO_ACTIVE_HIGH>; >> + cfam-reset-gpios = <&gpio0 ASPEED_GPIO(Q, 0) GPIO_ACTIVE_LOW>; > No children? Ack, I'll add one. > > > Best regards, > Krzysztof >