From patchwork Mon Oct 7 14:16:25 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 833700 Received: from mail-wm1-f52.google.com (mail-wm1-f52.google.com [209.85.128.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 4A5031D61A7 for ; Mon, 7 Oct 2024 14:16:36 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.52 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728310599; cv=none; b=TqArUBxqXtsJ2soXEKOjhtKe+JH9kcW3QXqO2+0LLnYptEDJLVKYIEjmf7yuGxXkI6m5BZFN2iAPDrACQTwxfjBmt1w/taxtt0lb1MClsnMAUI5WEBbYBIS5NKvJRWmxYMO1aO5ul936RuuV1AvUVl/S+HuypZoBAegVaXx8gcQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728310599; c=relaxed/simple; bh=h2FMnPogkHFfqhRz1WoByogMT7zBYzsPgXNwbf8hCeY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=e5CY6JyiyElWuQS8vHcw6zRDQu9paou6EnNE+fUMDgr2LLhIn9Knd8uUWy2wqriElsvx1mulpoJ+gasWtRDddoqepHaqyTURmXhw51/V30pG5QeAD6i+lgiV0qmqgXGSAX80HJPFt6WNinVb6vOJJX7hlJktMC22mcHEQgDzys0= 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=APwCyNTZ; arc=none smtp.client-ip=209.85.128.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="APwCyNTZ" Received: by mail-wm1-f52.google.com with SMTP id 5b1f17b1804b1-42e82f7f36aso38974715e9.0 for ; Mon, 07 Oct 2024 07:16:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728310595; x=1728915395; darn=vger.kernel.org; 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=4hv0jab3jHBZJbnh7UjMMEKId2oSGlJ5cxQvLyyyW10=; b=APwCyNTZqhU+3LU+3zoUFbNLe40fU37QLq1JiC9FEgB/nPjBhoX9wYiDPZnG3qRRdr A92oU/iEApN80SKC5K2ZE/qFlBphxTVz/AeR5UaFcjX/cb0elZY6h6wvXOEoVammGcfN 1i1eZlU1B7z6w3rOLDxw1dQcSZht9/WFME6XjioLeaQB63HYG59vbhd967WpA9nlmcTU XgAJY8k4RxdsYc55pMDhJyah/ipeKWvHjJfCzao9lRA5LmfXEqlez3+9ocx6ZSqkq+Fv zRIRcWLfM/9vkewreHWmLh7S11mobpnGK/noMxKc1uJInK3dfntqI26Q/sPVD+59KUgW HBBA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728310595; x=1728915395; 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=4hv0jab3jHBZJbnh7UjMMEKId2oSGlJ5cxQvLyyyW10=; b=iyqr6X1lj9VHnNvXEpsOZTVL4Y+rVcT5aHkGq/ohFD39BsWQv4Peyn/dowDaL1QFAi s0E+Ro9StV1kBbcB1yXrQUrq6UNtqZzEWon1oAhZ97gZy4n0EBDl5z9loqDhTgvpkND0 A0LrIQKaq9hnUxojO4tShKn2jF03iZvvg4UC2UQaX0Mi1iB3bcpL7eniqVH1jjwnDxNQ U3gSF7hImA/PmKLjdMCR+MnArEF4Se3wVBLju35qrTFY0McMwsLeHRZytMPu1hPOiLTU wWuWQyke2E6S8C/jlNyQp+Q0aOmflgFy8Y9fD2xud7+qirDnNw/CXE7s4xtIwuZsfu9Q Ohkg== X-Gm-Message-State: AOJu0YxmlOFWVCnY3HMo6KXCaNbp1O7uEy3VmfuFmcYf+tHOAzQkyr77 zS5ClrW3FnVdoKkudhZ7oHsqlxnhHlOUwBJI+P5p5I+LBfc1NQ2Pmmc5fYIw3XI= X-Google-Smtp-Source: AGHT+IEBNwCj4Clmc9tQOoyaPHB9G6hxgmvRd98seccIp9L6ifABf/HO1+fqXZ4HQmKQwBQV2MyofQ== X-Received: by 2002:a05:600c:524c:b0:42c:bae0:f065 with SMTP id 5b1f17b1804b1-42f85aa32famr89848015e9.5.1728310594553; Mon, 07 Oct 2024 07:16:34 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42f86a20537sm94197965e9.15.2024.10.07.07.16.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 07:16:34 -0700 (PDT) From: Neil Armstrong Date: Mon, 07 Oct 2024 16:16:25 +0200 Subject: [PATCH 1/2] dt-bindings: pinctrl: amlogic,meson8-pinctrl-aobus: add reg for aobus pinctrl nodes Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241007-topic-amlogic-arm32-upstream-bindings-fixes-meson8-pinctrl-v1-1-d3d838540033@linaro.org> References: <20241007-topic-amlogic-arm32-upstream-bindings-fixes-meson8-pinctrl-v1-0-d3d838540033@linaro.org> In-Reply-To: <20241007-topic-amlogic-arm32-upstream-bindings-fixes-meson8-pinctrl-v1-0-d3d838540033@linaro.org> To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Heiner Kallweit Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1639; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=h2FMnPogkHFfqhRz1WoByogMT7zBYzsPgXNwbf8hCeY=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBnA+1ALGxHIst8m4naWDBSpXsrpWWhY+q6boysoTva mUVfeTiJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZwPtQAAKCRB33NvayMhJ0RGhEA DIrWLVjjoK19N2+puCqyHlFbu2KgFdoR87XjMzHDOoiiTUecXYSmRGw4l1jZEByQYnbwseieaxTU0M waJf58VQ4Ea1WpjJ9wgfr//kPXzk2frkIt0t7xFcMqPWdFyrXt3PqZRY8u6NBlT3loCPQ1yBzGx9Xy XYgZAqSKWpPKHGZ3iCqNGNV31X3m5qvBDwKM6GJZ3rqHEbuuaEfRUWni8ZKu6OyrReUotV0D2QKuf2 ghiWFO7Ni2DjnILeP5jdZJzWJHJlfnpNl5Khxrp+sb8N0hxRqdCOlDCsAuYAyBC71sZ8SaMFeM5LaG fPXbB5dqpPyJeO7vte2ZuLFVJAsNLsPhQNwzl0mMItB4/W4APVTZDR20xLTDvb27pK5fe7hjQRdq5a M2N6Zf9Nu0+FhWvZO7iz/HP8qYCrqTnAb29HdnBcuN1Jx7yzC0Hqs5FLOTD28QNnyKDJ5RHFceytpz 7MRtpz80cUvLwzrOvbRGrwnpOWHWoEko22SpMuS1Rb3fHCJ8zmF/efj14f27NnHDOanFynQNbUcFcx iMCIGo33bjvTvPlW569zqf3SJuM3s/NlAM/Q/2aVrkJrLUYg09IaqcXZyHyM+EvHJXU6fKKAHRxS9+ c70jlbfYmpezaFexoFwS9Ca/qg2FtBm98t4OCGYQqY0CGwOWCZhg5kxhWwdg== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE While converting the Amlogic Meson pinctrl binding to dt-schema, the mandatory reg property for Meson8/b aobus pinctrl node was ommited, fix this to finally pass all bindings checks. Fixes: 94df03a45276 ("dt-bindings: pinctrl: Convert Amlogic Meson pinctrl binding") Signed-off-by: Neil Armstrong --- .../pinctrl/amlogic,meson8-pinctrl-aobus.yaml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml b/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml index add83c676327..76c02c6af645 100644 --- a/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml +++ b/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-aobus.yaml @@ -9,9 +9,6 @@ title: Amlogic Meson8 AOBUS pinmux controller maintainers: - Neil Armstrong -allOf: - - $ref: amlogic,meson-pinctrl-common.yaml# - properties: compatible: oneOf: @@ -25,6 +22,25 @@ properties: - const: amlogic,meson8m2-aobus-pinctrl - const: amlogic,meson8-aobus-pinctrl + reg: + maxItems: 1 + +allOf: + - $ref: amlogic,meson-pinctrl-common.yaml# + - if: + properties: + compatible: + contains: + enum: + - amlogic,meson8-aobus-pinctrl + - amlogic,meson8b-aobus-pinctrl + then: + required: + - reg + else: + properties: + reg: false + required: - compatible From patchwork Mon Oct 7 14:16:26 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 833413 Received: from mail-wm1-f41.google.com (mail-wm1-f41.google.com [209.85.128.41]) (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 3BB251D7986 for ; Mon, 7 Oct 2024 14:16:37 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.41 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728310599; cv=none; b=c3+VN81LlHUTfut2UJHOE4FYCKzyxb5QfnhYrxvhHVdUAx9+oXtjmrOK5zauXReoQSD4f4G5AOrNTjubpNlqRyXj3tBzrgV/2h/e1LMYIspXqMUrPjXL+GUXXMZaAwN4se2bM5Uc4Q9fHGedetdjGZLY9v4H1UDA4/67J1yeVDM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1728310599; c=relaxed/simple; bh=uq3xUG9541kWavMjswgcR/7jEBvQhAlHsrzxs28MLMw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=FNDxneNezewPPUPervVtdUnKcKxa/JRyBJKaGprmSYFiTVuQnxhX/+UuQd1iv9dRB6CHzFnHulrDrfODEYG5Iti2K4QppbK591QU2PvJ3Pinm+ElcTXcrhB+p+XGheRS2mSg2AWya1UjzWLNZNw6xBJm/AmRSZRFJr4HE1dKat0= 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=V3nvX84g; arc=none smtp.client-ip=209.85.128.41 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="V3nvX84g" Received: by mail-wm1-f41.google.com with SMTP id 5b1f17b1804b1-42e5e758093so38881015e9.1 for ; Mon, 07 Oct 2024 07:16:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1728310595; x=1728915395; darn=vger.kernel.org; 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=7xRUTNSVpHiv9YcXebV17rDvGiIssghk7TcjlQFT9qE=; b=V3nvX84gPy0a2hiGo5T/9imVZ+pkJ0q7fhQgjCFh0SKcBwD5i5R9Eg4xHx2/A799wH 6jkVed7mAEkEhl0FF7bFRKafmvz+M2Pkq6iq0w0hfmNMK32zO8n2qGhwyb1/oyAL7/1R mtjJxxIW/RqqT/lNWwD/Px0DJ+AsFdQgqwfoyD6GjKvwlF8g7ahaBHnaWcyDhSdaKF8c DeDQCFZ57UEvUHlsRYKU94vFZlfsF6+x8TJR3IrjhPgOpby0v4KZA0fe4Ztfo+gWfXlS ZXH6po9MfnHfrmd4Y3Uhzx3gO5LTUlVtzPde2Q/fORghQWncsgKyDI32XSXTU8kaHyKq 6/aw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1728310595; x=1728915395; 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=7xRUTNSVpHiv9YcXebV17rDvGiIssghk7TcjlQFT9qE=; b=VwGV7ZA8zygStF+0cuhBiA/h4gGUWkjtRP7RzLuYbNp7D+2l/rEC+KXPo+LOSg5dPs FDOskgKJTYX5Nfcu0JyPVwmM6J6yY8Q5zBm7uEIIyp5xb9LbWxjKVQ1TDL58th8+quGZ hctCeoBt9M4AyuaLD+ZYo5ndcHeyRDgPzziZ70JRp41D0Q/WRUWftJ8uJZ+SBv78nEWV K0qDUsHtcb4pH9elBC9RUY5pnW/Lx8j91KZEECmF/M7dZRMhWIGYFZGTKitLhiVXSmHF aPKd7Iy0ICyH8pUoMfw6OfC2aNgSqN/YVecO/XjBDkkzpbyg2cPFnbUfTo6SSzvMXFRP 1xcA== X-Gm-Message-State: AOJu0YximkwzE/B8zdw8ZAHXWcKpos2xiqny4+ikcXjLNy3CL9Fdjymn vryZS0suQM/olZtzpc/cXK8oG0y+JMNIoUBMimJY8x/27ol4Y2HimFNojKtvsWc= X-Google-Smtp-Source: AGHT+IHQ72ccwSzwU8GosDnb+C5lMeNAC/47JQuiE3FnkpThqnf7l5/8A9yKyPIwlZRV/GGR9UIMFg== X-Received: by 2002:a05:600c:4684:b0:42f:823d:dddd with SMTP id 5b1f17b1804b1-42f85aef159mr74209795e9.27.1728310595513; Mon, 07 Oct 2024 07:16:35 -0700 (PDT) Received: from arrakeen.starnux.net ([2a01:e0a:982:cbb0:52eb:f6ff:feb3:451a]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-42f86a20537sm94197965e9.15.2024.10.07.07.16.34 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 07 Oct 2024 07:16:35 -0700 (PDT) From: Neil Armstrong Date: Mon, 07 Oct 2024 16:16:26 +0200 Subject: [PATCH 2/2] dt-bindings: pinctrl: amlogic,meson8-pinctrl-cbus: add reg for cbus pinctrl nodes Precedence: bulk X-Mailing-List: linux-gpio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Message-Id: <20241007-topic-amlogic-arm32-upstream-bindings-fixes-meson8-pinctrl-v1-2-d3d838540033@linaro.org> References: <20241007-topic-amlogic-arm32-upstream-bindings-fixes-meson8-pinctrl-v1-0-d3d838540033@linaro.org> In-Reply-To: <20241007-topic-amlogic-arm32-upstream-bindings-fixes-meson8-pinctrl-v1-0-d3d838540033@linaro.org> To: Linus Walleij , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Heiner Kallweit Cc: linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, Neil Armstrong X-Mailer: b4 0.14.1 X-Developer-Signature: v=1; a=openpgp-sha256; l=1629; i=neil.armstrong@linaro.org; h=from:subject:message-id; bh=uq3xUG9541kWavMjswgcR/7jEBvQhAlHsrzxs28MLMw=; b=owEBbQKS/ZANAwAKAXfc29rIyEnRAcsmYgBnA+1AAJKgEHuWWSwWBWNNDbWxSdRz0yGsLYzIXe/4 xjuPgBqJAjMEAAEKAB0WIQQ9U8YmyFYF/h30LIt33NvayMhJ0QUCZwPtQAAKCRB33NvayMhJ0Ve2D/ 0VDp2vwfBbO2+6bz+ZmUpjcv4krlCHkib7nY3P1ffx2xc8uXGci/IJfCDcs/n7lKtZ9EMwPQfU53qp ujKB1QWNiroW7bfVzQ99o9Lo20wXjrtFSM1NgjZrGkK14cXE4OJ6W/uo40XgiFKZmDXs/brYDEcMgl Vkj6wPnW0mNegAcNZDBekI77lY8Tx2ScSz8Bdv9bvVBOGexclIOzRupM10tlrUM4ZvS/2Bh6lTAkNt VFUl3c34S/zgmiHnUcWZcCEiugGOHb18tIfRcsM3UyxuirMQ1tqrTqhd3dnxMWedPXpvdnqGTgLGj+ 2P0WQlkaVZaCO0EnDawkSGsMDrhBXb2uWOaIMVaj5p8Trr4hUxVp5ZultjzqTZ6wncbQiL9xkGDJ0u uCErJGDC0hd+jKpyLSUJAxdXyTHUVP+o5qL1UPaSFjSPGzE2+8UTlx4u4J/MmaMesUXG6zFVNKczx5 b79N7wO4/+gqw1y0v6vFEK8NDK5VbnAtGoralRmrAnliruY6P92z0joLTVHyKii9ZvlysSaRtz9Rrk 0O2UEMqu46XvfoOiK41FTkspRh2Ohl64L5ZOOyC1Me7b4raYyfC7ftgFhUoPXeppZE+TXZWwSSszcT lwl+ezybXQsKNiaASpe0LiUp1M6CvuANx2GVkWty0xlJxXFF7ZcfoxyIjxqQ== X-Developer-Key: i=neil.armstrong@linaro.org; a=openpgp; fpr=89EC3D058446217450F22848169AB7B1A4CFF8AE While converting the Amlogic Meson pinctrl binding to dt-schema, the mandatory reg property for Meson8/b cbus pinctrl node was ommited, fix this to finally pass all bindings checks. Fixes: 94df03a45276 ("dt-bindings: pinctrl: Convert Amlogic Meson pinctrl binding") Signed-off-by: Neil Armstrong --- .../pinctrl/amlogic,meson8-pinctrl-cbus.yaml | 22 +++++++++++++++++++--- 1 file changed, 19 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-cbus.yaml b/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-cbus.yaml index c954761e0150..3a03a1c73c92 100644 --- a/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-cbus.yaml +++ b/Documentation/devicetree/bindings/pinctrl/amlogic,meson8-pinctrl-cbus.yaml @@ -9,9 +9,6 @@ title: Amlogic Meson8 CBUS pinmux controller maintainers: - Neil Armstrong -allOf: - - $ref: amlogic,meson-pinctrl-common.yaml# - properties: compatible: oneOf: @@ -25,6 +22,25 @@ properties: - const: amlogic,meson8m2-cbus-pinctrl - const: amlogic,meson8-cbus-pinctrl + reg: + maxItems: 1 + +allOf: + - $ref: amlogic,meson-pinctrl-common.yaml# + - if: + properties: + compatible: + contains: + enum: + - amlogic,meson8-cbus-pinctrl + - amlogic,meson8b-cbus-pinctrl + then: + required: + - reg + else: + properties: + reg: false + required: - compatible