From patchwork Thu Dec 28 12:57:56 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13505990 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 25A9DC4706F for ; Thu, 28 Dec 2023 12:58:56 +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=s9vU3jmyC+uiYS+ceXsvzQE19BisOqekRvfzD68Dahw=; b=O3kUp1S0boYyVu 57YKoBgtiaDxH9n7bL38JKv+HTESmgNm5k4I4tA3Oak0p6gt4kuPK4mf3wNyh2KIvYf1NkTESuiI6 bBCk/xVrsJ0MIsMxUxcqIXdkllvjY06tz5SxTcJVqwXDjB4wdaUQqoG9YBBjqJbCaVEMbNGdpO/0P jiOUK1QLC0/x6HiLTNHdpOqoe4sU89jgx6RsD+b/+Ti3t1GiizjsudVQInfCQpWXQBIBwZQzzbwSk g8NUO3KSo1OerUgqQDpRSQZL1w4rtFzTooH8h2fUYretE3n8mt9AbPDwdwDPIecDHroeLZrID56LL 8ssxhO38ZNnuBARIbUvw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rIpxz-00Gr3n-1H; Thu, 28 Dec 2023 12:58:27 +0000 Received: from mail-wm1-x32b.google.com ([2a00:1450:4864:20::32b]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rIpxn-00Gqxy-1V for linux-arm-kernel@lists.infradead.org; Thu, 28 Dec 2023 12:58:18 +0000 Received: by mail-wm1-x32b.google.com with SMTP id 5b1f17b1804b1-40d560818b8so33844785e9.1 for ; Thu, 28 Dec 2023 04:58:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1703768293; x=1704373093; 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=qARtnmQgOAQf1WGszfbQmrcKdGUB3d5pXOUSqwXI61U=; b=XE5DJy0a8tV49+QMCq5HYudI72unoo/2nVDwhoWbmlnnShiXxo7otS1b/Q3/48LLV+ 4wwyAIfrPfIj+pACYQgWQBMVJCj/wsQK85fT/hqFXFwMrQKcqw+NXgXholfLfW8NnTd5 s0TTOA55Y7OPtaMl2HswjWNx5h4sYXPiEARHYFzG8pa82q+oKg65vbiAMAmjXjS/aEIO tM5PJzY/WzS1Zujd/d/zUIbmNKAyVvW17mc148sK7HXI8BREunAhGNRfXEnjek9GCN6o 26NSZAQYIVOxaCDrO8epdaLrTa/HSCSGr5TxCClcutDJrqefI+iUo1Tw/nu3Urr5i04M Nh7Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703768293; x=1704373093; 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=qARtnmQgOAQf1WGszfbQmrcKdGUB3d5pXOUSqwXI61U=; b=VtuFKPZBStGe+QyRZMHLueBDAxtsu1UJw90DEXqxDeglGEZ1B5d9bfnGQ+QquQqZnq YNW1bMY4hpm4FkxTkgJmlnB1ZRKb/OP6vJWOuB3gMW5JQg9mA3ws0X6qKfPx6TFdWiZo /8zNANzTJy5CeLUMYkA1rhwZSwl9PBPXYYnLjRu3yTivDuvp0VaTG4woEYJE24dzeHtd gomF3S6HMLeHCrm+/DPJOu3A7VgRL72i9OJYl6kLuuAJhFSyf/Qp/mcVW4E85JlLLOxO OqlDc82yPkgILDIlJzEacvvUaGkMoVP0WFncAENWz8bKlHb0K/0lbCxVNDeoTE9/OgaO PBfg== X-Gm-Message-State: AOJu0Yw0O5CusXP5g5TX6AEGJHVxCcwWKuPuo73HUdBJM/FjFLhzQmAb DIoR9WyDHapDaeQuHEaTZ9jTC5eCWfnRrQ== X-Google-Smtp-Source: AGHT+IHT57QGYw7zLPX8R3bhMUgX3eDW1EDvo5Oc9TXgPSM2ZkHfeK0hm8E/vlZ6afNi/TT87YNVsA== X-Received: by 2002:a05:600c:33aa:b0:40d:3a34:82ef with SMTP id o42-20020a05600c33aa00b0040d3a3482efmr5244462wmp.136.1703768293249; Thu, 28 Dec 2023 04:58:13 -0800 (PST) Received: from ta2.c.googlers.com.com (216.131.76.34.bc.googleusercontent.com. [34.76.131.216]) by smtp.gmail.com with ESMTPSA id h9-20020a05600c350900b0040d5aca25f1sm8615807wmq.17.2023.12.28.04.58.12 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 28 Dec 2023 04:58:12 -0800 (PST) From: Tudor Ambarus To: peter.griffin@linaro.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, mturquette@baylibre.com, sboyd@kernel.org, conor+dt@kernel.org, andi.shyti@kernel.org, alim.akhtar@samsung.com, gregkh@linuxfoundation.org, jirislaby@kernel.org, s.nawrocki@samsung.com, tomasz.figa@gmail.com, cw00.choi@samsung.com, arnd@arndb.de, semen.protsenko@linaro.org Cc: andre.draszik@linaro.org, saravanak@google.com, willmcvicker@google.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, kernel-team@android.com, Tudor Ambarus , Krzysztof Kozlowski Subject: [PATCH v2 03/12] dt-bindings: serial: samsung: do not allow reg-io-width for gs101 Date: Thu, 28 Dec 2023 12:57:56 +0000 Message-ID: <20231228125805.661725-4-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231228125805.661725-1-tudor.ambarus@linaro.org> References: <20231228125805.661725-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-20231228_045815_499500_31070A12 X-CRM114-Status: UNSURE ( 9.21 ) 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 Signed-off-by: Tudor Ambarus Reviewed-by: Peter Griffin --- 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