From patchwork Thu Dec 14 10:52:34 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tudor Ambarus X-Patchwork-Id: 13492776 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 34F7CC4332F for ; Thu, 14 Dec 2023 10:53:34 +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=Y41EXYRWRmYZ/jcGKd5ySq4MzVDNLMkRxZ4kfDrW234=; b=GFlNiUUDwH5nL3 ysyWrRJD3Jr4+QiU2sbJCxr7rvocZdFPiziNlz0kP4s8xf/YGO/pcg4laiSizExKBwRQ6xFQZoxhL 2f1/cDvqSzD2wHZkb/evE0YlLDBzJvVicpzWcc+6RbHVadNu6VtMhIL1em62nfGCnzPmGiYQ0BtIr mxbb4M6IIbDmZx2ivIK4W/gLeXjC6XBXyVmj/JYTFAvry+4YYaSUAlDX1B6sDJMREjZSa7JWt60QW 0Z3F1oTdr/AcwflROhHzC4InQFQmqzDMWRuOWkNAiSLXVNwN64NQQJ0YhxqYux7njzfGcwrvQT2wV 6+b6f4jn1ylX4XCji0lw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1rDjKz-00HXcl-23; Thu, 14 Dec 2023 10:53:05 +0000 Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1rDjKr-00HXUG-0M for linux-arm-kernel@lists.infradead.org; Thu, 14 Dec 2023 10:52:58 +0000 Received: by mail-wm1-x32d.google.com with SMTP id 5b1f17b1804b1-40c46d6784eso40139705e9.3 for ; Thu, 14 Dec 2023 02:52:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702551175; x=1703155975; 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=5mhn42nkbYNSYbqkCzR8s0q7mu4Kn3hIP/r9MxesLeo=; b=AEu5DZAEJFWCe44+OlgBYqYiQEEb+kS60DLGo8JyfFY8dGwsrt1o6wt1Sxg2dMwUht 5p23bzzzgZke2KLOlGUB72NeIqYM0gQ8aq3MoNQVr1bfiMbb33ZAHrlAZOeAjyTpgWEs alxJljgcyTuvfGCl5tcS1ODDDoqXws3wpQKEcF3HjWu/N0AkRWOx7o3C1w6537781d7q DSW721ox46Cl+XiKPO12H1GnnZ+T+SFynOFQrVFXpRsoVxrGW6wOyaT6mYA+VPqyA78z NBG50Mt8ehRaeTVUqRtPuflUa38qjJU90hG2R3yPsNUirr9A5WhPrQqiJEO2XrRmaqRt /fXg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702551175; x=1703155975; 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=5mhn42nkbYNSYbqkCzR8s0q7mu4Kn3hIP/r9MxesLeo=; b=MirAIguPqLUzNp1cbYC9f96G9MkWKYjwtIb5INoFuXmpp8iEpz16CJfg9it2Vk9MJ7 V5WcFd7xuYh1PDJXQT+YiVYXP1oYUilyWSwri6BmTbJVN/FPb+iUiQi32EbQv0S6Ob7z bWfPozWExlEzuT2lwtJ4N4yy2sVSG2EiselVJiTcM+jArkIytNfSBl9MzEaZBYBrrU2d drKG9+J0L12Q0fRJQZGOTJ6Dj1G+OyTrAikwq9iDKVcuRVaEaTN9rDXn/uV1g/owTQq0 zEUJitxAReKjAmfSK9odXjmKQSEHCxZ75IwybUfvrCbcKBTkHiHESh2GXLA38jsmXB7J wGoA== X-Gm-Message-State: AOJu0Yx0YNMbbW43lfBVKvMfwBI80hXXNfZRSYBu7KaIgOyAMSCK7/1G 9qeIYC2ClUcYmcPKiGbOdj9j+A== X-Google-Smtp-Source: AGHT+IFSACgeuqXfGtcq1HirR8WdhU+ZvxZq6/QpHoFhVCpG7A91zn3qv3cTxTqAwHCfaUc78R5niQ== X-Received: by 2002:a1c:4b0b:0:b0:40b:5e21:ec37 with SMTP id y11-20020a1c4b0b000000b0040b5e21ec37mr4222759wma.105.1702551175514; Thu, 14 Dec 2023 02:52:55 -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 p7-20020a05600c468700b0040c420eda48sm17614854wmo.22.2023.12.14.02.52.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 02:52:55 -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, catalin.marinas@arm.com, will@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, Tudor Ambarus Subject: [PATCH 04/13] dt-bindings: serial: samsung: gs101: make reg-io-width required property Date: Thu, 14 Dec 2023 10:52:34 +0000 Message-ID: <20231214105243.3707730-5-tudor.ambarus@linaro.org> X-Mailer: git-send-email 2.43.0.472.g3155946c3a-goog In-Reply-To: <20231214105243.3707730-1-tudor.ambarus@linaro.org> References: <20231214105243.3707730-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-20231214_025257_166378_A906255F X-CRM114-Status: UNSURE ( 8.29 ) 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 GS101 only allows 32-bit register accesses. When using 8-bit reg accesses on gs101, a SError Interrupt is raised causing the system unusable. Make reg-io-width a required property and expect for it a value of 4. Signed-off-by: Tudor Ambarus Reviewed-by: Sam Protsenko --- Documentation/devicetree/bindings/serial/samsung_uart.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/devicetree/bindings/serial/samsung_uart.yaml b/Documentation/devicetree/bindings/serial/samsung_uart.yaml index 133259ed3a34..cc896d7e2a3d 100644 --- a/Documentation/devicetree/bindings/serial/samsung_uart.yaml +++ b/Documentation/devicetree/bindings/serial/samsung_uart.yaml @@ -143,6 +143,10 @@ allOf: then: required: - samsung,uart-fifosize + - reg-io-width + properties: + reg-io-width: + const: 4 unevaluatedProperties: false