From patchwork Thu Jun 20 11:34:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 13705216 Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 030641AC43B for ; Thu, 20 Jun 2024 11:35:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883315; cv=none; b=AIsvMH4EQ1p9EiLf0l656M6MGU9JTlqTEHMSsnwQ8I/2Oj69yj9TlxW54vp031fRKOngwfLRprinOcQddVbG3+xfUY57cMabje4tegEIJNsds8iphUpSuR485POJUV+SWpnodbPaySkijGQtRyzHAqw6AV6jzAQtxGmqC8425QA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1718883315; c=relaxed/simple; bh=VIAAR+9ZzNdiUd9DXoAU508RTOlGXzHJZLY4QqsPl/Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=r9tJ/Hbik8ckMMtzkYPeK5qT69ovKvNTec4SPlJJQGCOXNFQrpglBZF6PaA84PA3ZyGEPv71mYi+InRdGS0cGPyWNNXSn2C2crIwLQGDI1bJLDZ3eg/M0uz930WSFzvdzg78ux5uGUWZJaqwg4s1zWPE78CK5KF0pH3aFxT3ZyY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Nem/HgVW; arc=none smtp.client-ip=209.85.167.52 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Nem/HgVW" Received: by mail-lf1-f52.google.com with SMTP id 2adb3069b0e04-52c84a21c62so872274e87.1 for ; Thu, 20 Jun 2024 04:35:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1718883312; x=1719488112; darn=lists.linux.dev; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=xM531uJKzclciaU1onR3kjOex5SXkuzDDuoHCNY3Hn8=; b=Nem/HgVW439H0KnsTAHqErLW6bWerctEZmn/K5T4bj1tcf+OnBPIqMtxv6l0TsrgFr K2Nat+G2J6CGfHEGWUCFCcIFKZqpyKVtWGJKdD5wNN7mjTxLbzwohaznxydvJ/gc8QCf /YUHs1vJ/YxLYXrTxws2L5kpPfONS7KKfjdsIMwDCBPUd2ilQKpRxIAZj5G5725zDDUI VSBuWghlBmZEVUf+A9b1QiFlnNMZpuA89qxHG3l1eJhFILIS1t9ovEbBaeZXhz6HiqOE 7vZT7oB7O1t05UScD0zKkX1pcbX/FMNpWtmih1z/FuvG+l5FyXeHJJ6CiZQ5DWs5YvZA BRTw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1718883312; x=1719488112; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=xM531uJKzclciaU1onR3kjOex5SXkuzDDuoHCNY3Hn8=; b=jw0odJvO7lB98U8XmBda21vsvquQu3VIrg2ekHmoW4fibiYjGgP+aW5/LoYEnHCtkz 5qp+PuHdFes3ryMN68OtKO+XXer0fQ8uggX64rCBWTyzQIIteaW+eW64iy9gcbrSqC6M QEC/zQj4AXmBr2XyIZlWVaVMQPaQdhOaYmgJNB4NZCSpcwypzKeS0Cg550/Hkz3IrbLF N2VL+1egjOn2mqZUx2kfEttVgd1FY4G9q5ahs9RCoROlfVYsP18Qf7s6r6O2bhlEDHes QmDIcK+QwsoBftkPuTbsNVMR9+XuCjxWpIP5F2mrw7zFx/9ZpbBzv+75yAn/jm0Y0r9l WGdA== X-Forwarded-Encrypted: i=1; AJvYcCWe645/53YZ/ozCVQq8wODnsPLlE8sIWUVsctN+gdl0Qb0V0sr4OSgyNnnwNvxC4c+4uiff1lFoYlGS5DmH8rU1FMGkDMNx10dQvoxsvJCo X-Gm-Message-State: AOJu0YzDbtUlAWRBqLefkZJRYKEZBIS6B2so1T1BANkUkGcBBKRyLXrW USmxFZMWlnqD/09U3106ObPTzABd1ETd8443SX4PFVyAQjf7nSTMOwo7TT8c+uw= X-Google-Smtp-Source: AGHT+IHN5p1ZhBCkLLOHlujYFLWxyfZ388elBT4mBsOwQE+cyOCwyUR/18lU0uOjM07vFGaliodC2A== X-Received: by 2002:ac2:5974:0:b0:52c:8009:e0cb with SMTP id 2adb3069b0e04-52ccaa62705mr3195772e87.41.1718883311328; Thu, 20 Jun 2024 04:35:11 -0700 (PDT) Received: from [127.0.1.1] ([178.197.219.137]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42471e6623fsm49708985e9.1.2024.06.20.04.35.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 20 Jun 2024 04:35:10 -0700 (PDT) From: Krzysztof Kozlowski Date: Thu, 20 Jun 2024 13:34:51 +0200 Subject: [PATCH 3/7] dt-bindings: i2c: atmel,at91sam: drop unneeded address/size-cells Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20240620-dt-bindings-i2c-clean-v1-3-3a1016a95f9d@linaro.org> References: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> In-Reply-To: <20240620-dt-bindings-i2c-clean-v1-0-3a1016a95f9d@linaro.org> To: Andi Shyti , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Nicolas Ferre , Alexandre Belloni , Claudiu Beznea , Sergiu Moga , Benson Leung , Guenter Roeck , Doug Anderson , Enric Balletbo i Serra , =?utf-8?q?Ricardo_Ca=C3=B1u?= =?utf-8?q?elo?= , Thierry Reding , Jonathan Hunter , Vignesh R , Kamal Dasu , Broadcom internal kernel review list , Florian Fainelli , Wolfram Sang , Chris Brandt , Maxime Coquelin , Alexandre Torgue , Geert Uytterhoeven , Magnus Damm , Pierre-Yves MORDRET Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, chrome-platform@lists.linux.dev, linux-tegra@vger.kernel.org, Krzysztof Kozlowski , linux-omap@vger.kernel.org, Kamal Dasu , linux-renesas-soc@vger.kernel.org, linux-stm32@st-md-mailman.stormreply.com, Krzysztof Kozlowski X-Mailer: b4 0.13.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=1154; i=krzysztof.kozlowski@linaro.org; h=from:subject:message-id; bh=VIAAR+9ZzNdiUd9DXoAU508RTOlGXzHJZLY4QqsPl/Q=; b=owEBbQKS/ZANAwAKAcE3ZuaGi4PXAcsmYgBmdBPgL4PDnH6nsfCQcGgJAY5MlNNW76Ds1lu5y OPz6nu6bhuJAjMEAAEKAB0WIQTd0mIoPREbIztuuKjBN2bmhouD1wUCZnQT4AAKCRDBN2bmhouD 14QyD/9IW4X9J32ciR8sJIyc1S/ErJP2y4Ut7YRY30iCO0p0sVYpL+voJZxZwR4SWhHXbIDj1MW 4Ugj3M8nl1A2hWMzkv1OHWiBKD1kwljUwJTN9xnA+LywlE/t8QthKvVNMhHoeuYgHJf/pl0+UDS u17iyCx48aBjMd4RU7ov5Vro99N0ZWSOsEYUja9hj/YaX549X++4U8KGUDkmprAoqkV2yx0zlUK ulC1CBzolDDdimVmrToG8wElBIn4zhxPg+mfYV6434DdwuGvCSfHIHqaE/pFQ9/jNZqOAdVUuBZ ktFHWj+AAL7MpekoL26H43StDHEfwnsGHinZ9sfn7EZftE9GqEGftoI7+tmXTPcv9LbVKPsdQrQ FWWch6WWj52ChOeZXOo3iCVxIuOA9LIAhz0vU2zo2kcDpmW2f5Vl+vJf/ljJExxuEyjjW9i4iBQ 8DwEA43O+Ck5HwYROJsUalOde0DRyy7DLfj9o9oJsd1csbNHx6nTn6ibc8xXAH3ssdSVmLDkZ/v To/ESiX0sOgECYD8M93I8s0/XFfqZ3Vc2/ss+WYu54j1xcx0ioKkxO5qtABKMWHGQHBekxyKYjZ fR/FXSpokYqtkLm6Pwx9zoZwfWe1tHfcnh5rtmHa7xeamqS3Hi8v02dUX91kfQAIPmNjKC6c4rV +UTW99U9R3cDwzQ== X-Developer-Key: i=krzysztof.kozlowski@linaro.org; a=openpgp; fpr=9BD07E0E0C51F8D59677B7541B93437D3B41629B The reference i2c-controller.yaml already defines 'address-cells' and 'size-cells', so drop them from list of properties. Drop them as well from required properties, even though i2c-controller.yaml does not require them, because I2C controller could be enabled without any children in DTS for user-space usage. Signed-off-by: Krzysztof Kozlowski --- Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml index b2d19cfb87ad..588478862bd1 100644 --- a/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml +++ b/Documentation/devicetree/bindings/i2c/atmel,at91sam-i2c.yaml @@ -36,12 +36,6 @@ properties: interrupts: maxItems: 1 - "#address-cells": - const: 1 - - "#size-cells": - const: 0 - clocks: maxItems: 1 @@ -72,8 +66,6 @@ required: - compatible - reg - interrupts - - "#address-cells" - - "#size-cells" - clocks allOf: