Received: by 2002:ab2:6816:0:b0:1f9:5764:f03e with SMTP id t22csp2507123lqo; Mon, 20 May 2024 07:59:54 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWJEBK7H0pCtozW4ykebFC1YBdFaDmY6G9QZkMmbHpZOQYf5x52HDPRcQl13IJBMq/bxcwcA/6+woUf9n5GB4/iUy+2rwim5NuHyUpJfw== X-Google-Smtp-Source: AGHT+IHxn5CV5JcdCgYpO6IpUgs9Qh2aogrrjXtduiIgx8Gb58tMjGKonT8dNR9In4Id5/t0PDrT X-Received: by 2002:a17:90b:4d8d:b0:2bd:69ce:1966 with SMTP id 98e67ed59e1d1-2bd69ce2345mr3728674a91.29.1716217193753; Mon, 20 May 2024 07:59:53 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716217193; cv=pass; d=google.com; s=arc-20160816; b=wP5ajerSUdcYQaiSaxdVtJEp/XdqQPZ0zH+ys9xAjw2PMlYj+jE2bg1hG3ptNHH+i5 KifC1uwpP4mf6IaIq3alFrrv+XVqy91YiyiCszmptJZm3CBr3di6HuXkZS56x2JG4r3z G+QCOuhzVXGgaG3u80CBxoYEDEmH6RhVP0tO885jzcFu1rfbXI8WNEcn/YAuUTh/EaTY mimgN/nsJTfWmgMOwsEn+Hocuofj+vLQsiNeMDRiMUghZ1Ho9lDFPEZ3uZZSleXKkbw+ jcdAPtlvrhkQ/aFChEjUkUBkHwqyC4gWc0ivCEiSFSKcWBE6yKnt2QAxBGbvZs84R7zR p+CQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=k8LthJaFono5kzefOLh4BpFlOGemu1pGW+k0msP+I4Y=; fh=fJDhEtVLc5FP4pvWCAGNNzJXgtg1aLppo/7eilCc/V8=; b=F6u+AguThAOZxAQ0fPSZYqm6wG2nCyXIUa8ZILzu6sAT38a4iDWI4bKr2vS7XK9T7w B32D3p93ltIdAuLzylJmelt2RavtaPmGAOc1ctpSIjaKvSoC/q4tk9FWNmSReIQk3jyd bVM0yGvMl3MLKW/t1QXDNSojPEAhrw3Ql9WmrWnym9xRnS95dhdbRMIHnb2lCv7MXQSw Z6wB+WPxN2GQtCvxSK1SMBnLe8UVOX1vSMt0CL3yFM3QULVLIhXpTtxOtEexAAgMC8It k8QbGiynO8kcs3K2ZWnptZ7ZXAacP1Ykr+Q3MauwmxZK2IKoCN5W8bcqiFaeE6/tKlKg j70A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="K0J4/JRK"; 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-183869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183869-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=NONE dis=NONE) header.from=ibm.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2b671471cdcsi22547226a91.111.2024.05.20.07.59.53 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 20 May 2024 07:59:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-183869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@ibm.com header.s=pp1 header.b="K0J4/JRK"; 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-183869-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-183869-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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D38F4B20E99 for ; Mon, 20 May 2024 14:56:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 8EE0E136E0C; Mon, 20 May 2024 14:56:23 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=ibm.com header.i=@ibm.com header.b="K0J4/JRK" 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 21B1E13699B; Mon, 20 May 2024 14:56:20 +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=1716216982; cv=none; b=PPv52V7lbjxigqhnfNusdJh826I+yUYvHRKPA5Mzju3Q+O+9qpmTtyCeuzoms5miZlDKVTMxSCyNh0M7nU4EtTujlinfAsCBH4F7hnRuCNuv/x3yM1Q1OBGrHarE5KTetKS67r1Dms3QuSqQQg2H7N9xempSIf+MwluO8MZ1Wns= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716216982; c=relaxed/simple; bh=r016ACG9rLPHqBFAH7IwIq8KsAEq11uLlcFIl+XU3CI=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=JUxmSDu5GJteUyJiTE5SsCpFrHtEIeZ6OCtguo7tWxzGYTnheJZiIErj8xAtdqIhIEhgqJERrm8RzRJZooTVEFxM+WdubdQJHLhuWO/muZ81Q7Q1GjQOazTXOmmZAQ+WWElKMEb47DlDFp1QzQwxCeASbmW8MeWBgZ3dDvor26M= 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=K0J4/JRK; 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 (m0353724.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 44KEhEEL023548; Mon, 20 May 2024 14:56:11 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ibm.com; h=message-id : date : mime-version : subject : to : cc : references : from : in-reply-to : content-type : content-transfer-encoding; s=pp1; bh=k8LthJaFono5kzefOLh4BpFlOGemu1pGW+k0msP+I4Y=; b=K0J4/JRKbpzYapY0L2S8Q9yiyrgoCqpkVHqfyhmcQKXctmLMR63b1B0F7SkrwRqWlKNo uZ61Wq2UWu5Hq91ibUc6D2rpnoyLyaBSWeCwAW6veNAcdkN2eyqcw4zr+2L4buJz2hzk 5pWLpBNBLLnm/IUdx2iT3reaIz2ZkXIQlH07hDY+D6nPI6464xS08GbOfzgh4hnh7ha6 8Oev4NMJQ9YUMtz3GNyH9jzTv4T/cLKDFpL4zlcSlnRKOY0Ad9IEIG29O6ZMQE8E79qN qvCyoFoJDUopIxTL5WfS/6jc3dGzJMQ1JMdQbI0FPUzQWGRwN3k0g3U7mh1qZjpWmJBO kg== Received: from ppma22.wdc07v.mail.ibm.com (5c.69.3da9.ip4.static.sl-reverse.com [169.61.105.92]) by mx0a-001b2d01.pphosted.com (PPS) with ESMTPS id 3y88h901ey-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 May 2024 14:56:10 +0000 Received: from pps.filterd (ppma22.wdc07v.mail.ibm.com [127.0.0.1]) by ppma22.wdc07v.mail.ibm.com (8.17.1.19/8.17.1.19) with ESMTP id 44KCV6vX000878; Mon, 20 May 2024 14:56:10 GMT Received: from smtprelay05.wdc07v.mail.ibm.com ([172.16.1.72]) by ppma22.wdc07v.mail.ibm.com (PPS) with ESMTPS id 3y77200fs7-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Mon, 20 May 2024 14:56:10 +0000 Received: from smtpav02.dal12v.mail.ibm.com (smtpav02.dal12v.mail.ibm.com [10.241.53.101]) by smtprelay05.wdc07v.mail.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id 44KEu7gw28115624 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 20 May 2024 14:56:10 GMT Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 9C28858060; Mon, 20 May 2024 14:56:07 +0000 (GMT) Received: from smtpav02.dal12v.mail.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id 6DB4E5805C; Mon, 20 May 2024 14:56:07 +0000 (GMT) Received: from [9.61.17.2] (unknown [9.61.17.2]) by smtpav02.dal12v.mail.ibm.com (Postfix) with ESMTP; Mon, 20 May 2024 14:56:07 +0000 (GMT) Message-ID: Date: Mon, 20 May 2024 09:56:07 -0500 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5] dt-bindings: i2c: i2c-fsi: Convert to json-schema To: Krzysztof Kozlowski , linux-i2c@vger.kernel.org Cc: devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, conor+dt@kernel.org, krzk+dt@kernel.org, robh@kernel.org, andi.shyti@kernel.org References: <20240514205454.158157-1-eajames@linux.ibm.com> <79bed5c3-14be-4f15-a2f8-2e2342cb6b57@kernel.org> Content-Language: en-US From: Eddie James In-Reply-To: <79bed5c3-14be-4f15-a2f8-2e2342cb6b57@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 X-Proofpoint-GUID: IBG5_ypo9PzQetmL-qX-ZWH2SCXS76R_ X-Proofpoint-ORIG-GUID: IBG5_ypo9PzQetmL-qX-ZWH2SCXS76R_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.12.28.16 definitions=2024-05-20_05,2024-05-17_03,2024-05-17_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 phishscore=0 mlxlogscore=816 malwarescore=0 priorityscore=1501 mlxscore=0 lowpriorityscore=0 suspectscore=0 bulkscore=0 impostorscore=0 clxscore=1015 spamscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2405010000 definitions=main-2405200120 On 5/19/24 13:03, Krzysztof Kozlowski wrote: > On 14/05/2024 22:54, Eddie James wrote: > >> +properties: >> + compatible: >> + enum: >> + - ibm,i2c-fsi >> + >> + reg: >> + items: >> + - description: FSI slave address >> + >> + "#address-cells": >> + const: 1 >> + >> + "#size-cells": >> + const: 0 >> + >> +patternProperties: >> + "^i2c(@.*)?": > Either you have or you have not unit addresses. Please fix the pattern. > Why is this so flexible? Do you want to deprecate i2c-bus in favor of > i2c? If so, then example should use new naming. I am fine with children > as i2c-bus, assuming this is allowed by dtschema. Did you actually test it? This is the exact pattern of the i2c-controller schema node name, which I thought would be good. I can make it more specific. But yes I tested it, i2c-bus works fine Thanks, Eddie > > Best regards, > Krzysztof >