From patchwork Fri Jan 19 10:45:09 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13523576 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 0832CC47DAF for ; Fri, 19 Jan 2024 10:46:15 +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=4LAgJteBpw+UR5PvUkujASfduRK83TM+6T6JoUjGMUU=; b=uuxe3DPFmALLtZ qTQscbLeU6vZJfycvf/kKbsxC28yZnbTbHwvAielGCNw4IZ9/Y41ck27GrUcRYxO0k5APl1/0II8I M6X4oQT5yxtYAHch7JPL8ecymp5tT7J0QHcApWZcT4MYXIYtCSFUCfmYWJxzj7LQRWw1XR/CxtoaS fa9iGc+IDBpKkBJs4nAo6DtrMUaVTdfzXvlooFVzKq8A8I18k3EwNUsArlDNlWH41fLDGc/x2UL4V foQQCG/xVb7WTXEwrJ+b1Wk/ZNsL3pK2K8jp5vOBbJfEbJf6MkI6a8C9qQM2bcd7d8BQX0VDhvEbA g03OR2M+UpOqPt9LgS3Q==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rQmNV-0057JY-0F; Fri, 19 Jan 2024 10:45:37 +0000 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rQmNR-0057Ho-2a for linux-arm-kernel@lists.infradead.org; Fri, 19 Jan 2024 10:45:35 +0000 Received: by mail-wm1-x333.google.com with SMTP id 5b1f17b1804b1-40e775695c6so5499095e9.3 for ; Fri, 19 Jan 2024 02:45:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705661131; x=1706265931; 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=H74QYBuoWbNPw1IrHpaPtV5Fr/Jo8QfnPV+pn460u7Q=; b=dUbkXEH7OEoS9uXGBnvYbyUzPOkyvwMoTNxo0iDTvL0SjtXXVKgxvyrB2ZrYbunCMR WigOzXinfSfaaSiln/uCygmnWxZU47UOBsTbZG9RQhXiKSsFeKvVOAxXErf33wY+hC5p ZVE0XYgfvrpyTq3O5wDaIh41d14hCLebfCoNk5T5w8c9d05qCsJX4wci/Vac/d7zEOZ5 FFr3k1YEqwZnAR34n0ydlAnqrHSaCVms/3KUTGUvwXPnu48RA1MSvedR2Nhs8Lm1iMd8 CqEDTxToDdo2Xw+lk4TNeqbFndIHUEYjin4FiTxG7DnsBZt+cV/o9Z0l2WKeUKIDc+MT oyQA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705661131; x=1706265931; 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=H74QYBuoWbNPw1IrHpaPtV5Fr/Jo8QfnPV+pn460u7Q=; b=Y896effrUheuqCggTYr9hG0xo/drYaSw4sZdbofjA6ML5qjIlXq1gxxegnx18QREV7 3RMD8n0+xnxYx3D1OmSdq4zSuDRL8DU4sObxomR9mAC5ZQfr9RP9p/FYhrkKoxSQCGs2 H0enSBZJrEqwMKb9FAtdKwhB2myjhIOrBRPDfPTSKOFojEqYA6tbcj220o/uzECwGoXI DfD9zQExsmGEdJDfqztZp05htOsL8XfIpz5jLyT3fArg8+9xishGvnhlcRofXFiVY+Gy WCLsx7iaTUsxpkGXG+6KVyBv4OAiy7a+uxeEY2zLsvxRriDXCmiQcffgoJUx2K6DW+V+ CLbQ== X-Gm-Message-State: AOJu0Yy7Sp4j4TAYcVWT25jVuHiLAkJNeWCj9g9XSuEQRCX5EoYq4osl 1dyLA2CkkGKtyqJWVETS2WOGmjqo190FkWgIx6vrtyGRYffD+ruEO9VZIHEEGK0= X-Google-Smtp-Source: AGHT+IGe2DxncF/tdHEyEyQetNG3qty4lJaRlXD9UVpv8DePV8y20R67SD2hJpbDmH4wko4vUgqtqQ== X-Received: by 2002:a05:600c:2152:b0:40e:6587:edc8 with SMTP id v18-20020a05600c215200b0040e6587edc8mr1512939wml.91.1705661130766; Fri, 19 Jan 2024 02:45:30 -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 fm16-20020a05600c0c1000b0040ea10178f3sm77470wmb.21.2024.01.19.02.45.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 19 Jan 2024 02:45:30 -0800 (PST) From: Tudor Ambarus To: gregkh@linuxfoundation.org, jirislaby@kernel.org, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org Cc: alim.akhtar@samsung.com, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-samsung-soc@vger.kernel.org, andre.draszik@linaro.org, kernel-team@android.com, peter.griffin@linaro.org, semen.protsenko@linaro.org, willmcvicker@google.com, Tudor Ambarus , Krzysztof Kozlowski Subject: [PATCH v2 02/19] dt-bindings: serial: samsung: do not allow reg-io-width for gs101 Date: Fri, 19 Jan 2024 10:45:09 +0000 Message-ID: <20240119104526.1221243-3-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.429.g432eaa2c6b-goog In-Reply-To: <20240119104526.1221243-1-tudor.ambarus@linaro.org> References: <20240119104526.1221243-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-20240119_024533_850741_EAFA295B X-CRM114-Status: UNSURE ( 9.88 ) 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: Krzysztof Kozlowski Reviewed-by: Peter Griffin Signed-off-by: Tudor Ambarus Reviewed-by: Sam Protsenko --- 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