From patchwork Tue Jan 9 12:58:05 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13514901 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 05210C46CD2 for ; Tue, 9 Jan 2024 12:59:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Date:Subject:Cc:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=AxIVx4K3Vpl960wSL2lasohnHEUF+s+aMtIZv2s+CB0=; b=wNbNkY7Vr1Rkf1 6+nvA3u45UlaXhHlECDeerc2sRXf06nS4dOdhId0FXG/RtIzTDWdOASH76Zy7eFDQlAHgljhoI8I6 iQWPtzXMRcZBgB5AFLTrXH3sgW8lHQUGcZFRBoDyUAdjh+SgwbWL2UO2qhH4sT0fyZIOl0bJDVNN9 89x6BGRU4qEH81aeztNui7d34HEuHYcRiOZaYpZfR4d9OvO4cqrCWw1yZ4A1oVlI1nDfzCdb3XoQ3 PmIsgODPZFFdYSnlVbCz/i+D+axmA25b8wFX/r4K9zl5qqnXFH9c/QZXzxQ8qgsNtULMY8+0iAz8T 2NqfpyREbPB9wuXUoM7w==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rNBgn-008IQv-2P; Tue, 09 Jan 2024 12:58:41 +0000 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rNBgi-008IMn-2K for linux-arm-kernel@lists.infradead.org; Tue, 09 Jan 2024 12:58:38 +0000 Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-33761e291c1so1642508f8f.0 for ; Tue, 09 Jan 2024 04:58:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1704805113; x=1705409913; darn=lists.infradead.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=JJrLSScx+Kg0xKGZsxHeMIlo3t4+N2J/9tXIuV54jXY=; b=SVHvExotd1AsRgHJMuE0gLNE7qxEe+VFH6dmWMsZeE4pEk7MprPbkhdqplxSBn/80t 6nfieo9MEsfxhjfppEndXarOM6WMrUv+WH4QiaEwuD7SsFjgrSzZ1uWLVC0wBpDpb6ir Huhd8sQB6IUVYDsLM39g1vkwhgs/XLmJkizWd7l1BlaEHE+5pM9PR30dr+pXvH3/gnMm DdpFaK2BSaO8eWNDf94z2zq8NpFx1WhvzRUBTPipb3TFKsIWYP4vSpfmL/A6kPRUjBUk cvBNUbgSim015FcMhldAArqiI3bM1JE3azE6HA6AyLhRrlVoaFj34TmS0ArirrtfvAEI kKQQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1704805113; x=1705409913; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=JJrLSScx+Kg0xKGZsxHeMIlo3t4+N2J/9tXIuV54jXY=; b=jpknUfmdCDXwldSySX2X1BfEiZGI9+nda8ZrcJ5sgCNcvi5yRyosWNn50RyPXoapcv pk8X3eWxkRoIY4xv0AyRrpIsZsXjvxMwHDSmnfe7jNS66Q+KBhspSXjwqE8uS2nejFcq DbGaBK+DqsB2hdUvGC5h921nMLH+5ojjdkt+TuYvWdI91tmPovN/CxnjGVwcouLtCTBe HxzsG2YGtFUucuW+tlU18ir32p35TTOLJryNDc8eC+s/wyhDY3Ztq+fibxmXvqPOaK8Z ogjJQwfKK3xxz9//+oBXAyjb1Bv6qQunA0Ds9mdFct/1tfn9hDcUAyMo9whSwiE+zd1G yaig== X-Gm-Message-State: AOJu0YxpW7qPnjFYx2MStNKUjyYXZFmKni5wKkmAYL3PnPqg/W3ZvmgS xzv5a2jDJo1fdK8lpukhIcfi30xpSZ0ZJQ== X-Google-Smtp-Source: AGHT+IG99CWD951Q5V2toPvO6G1nhCnt1vNx3YMD3bUpgj+DUjA0ncxLc94mFArBzl45B4ITaRAVCg== X-Received: by 2002:a05:600c:1695:b0:40e:43d3:209d with SMTP id k21-20020a05600c169500b0040e43d3209dmr355287wmn.168.1704805112974; Tue, 09 Jan 2024 04:58:32 -0800 (PST) Received: from ta2.c.googlers.com.com (88.140.78.34.bc.googleusercontent.com. [34.78.140.88]) by smtp.gmail.com with ESMTPSA id cw16-20020a056000091000b0033753a61e96sm2351302wrb.108.2024.01.09.04.58.31 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 09 Jan 2024 04:58:32 -0800 (PST) From: Tudor Ambarus To: peter.griffin@linaro.org, krzysztof.kozlowski+dt@linaro.org, gregkh@linuxfoundation.org Cc: mturquette@baylibre.com, sboyd@kernel.org, robh+dt@kernel.org, conor+dt@kernel.org, andi.shyti@kernel.org, alim.akhtar@samsung.com, jirislaby@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, linux-clk@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-i2c@vger.kernel.org, linux-serial@vger.kernel.org, andre.draszik@linaro.org, kernel-team@android.com, willmcvicker@google.com, Tudor Ambarus , Krzysztof Kozlowski Subject: [PATCH v3 03/12] dt-bindings: serial: samsung: do not allow reg-io-width for gs101 Date: Tue, 9 Jan 2024 12:58:05 +0000 Message-ID: <20240109125814.3691033-4-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20240109125814.3691033-1-tudor.ambarus@linaro.org> References: <20240109125814.3691033-1-tudor.ambarus@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240109_045836_771277_A5BC6153 X-CRM114-Status: UNSURE ( 9.61 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org All gs101 serial ports are restricted to 32-bit register accesses. This requirement will be inferred from the compatible. Do not allow the reg-io-width property for the google,gs101-uart compatible. Suggested-by: Krzysztof Kozlowski Reviewed-by: Peter Griffin Signed-off-by: Tudor Ambarus Reviewed-by: Krzysztof Kozlowski Reviewed-by: Sam Protsenko --- v3: collect Peter's R-b tag v2: new patch Documentation/devicetree/bindings/serial/samsung_uart.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml index 133259ed3a34..0f0131026911 100644 --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml @@ -143,6 +143,8 @@ allOf: then: required: - samsung,uart-fifosize + properties: + reg-io-width: false unevaluatedProperties: false