Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5896741rdb; Thu, 14 Dec 2023 02:53:54 -0800 (PST) X-Google-Smtp-Source: AGHT+IEizG3zs8fBB2GsgtiirlR95mtcq6g3difDdM/skMq4CHASYUJjajaQRc2dtP2FTP94VT2O X-Received: by 2002:a05:6e02:1885:b0:35d:59a2:a32e with SMTP id o5-20020a056e02188500b0035d59a2a32emr11106485ilu.48.1702551234440; Thu, 14 Dec 2023 02:53:54 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702551234; cv=none; d=google.com; s=arc-20160816; b=pzlY1hvwajSkY2jbuJP7iWtMvZdDtNcJigqshCp+RlRBZQPg4fOQ1RwULc9xrEzXfa GxqPe+MdKW3fdKm+KeAAXvWfXq/b7O5DzcJyd901R3KlbJQGJ+2JfbsVLb+kMvDHo4qg 3WXhHOq+IxBfT7k3JWcxwNE3CMPZUWCVna15Y1IZSn52U8O5S6wWNDk8e0kpGcdVJlQb BS5iQEq6nrTToMCBEf7toe4EtvFq5sQPCe9HCzhJz1wiumZuqh2+S8a7a8+8rB4QYrRP YyOnOCDxkCm314xWM3u/d9y/XYYx7XtNdJuCBqWOflnXed3h5cc/lClfCw0imPO2leJb vSHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=5mhn42nkbYNSYbqkCzR8s0q7mu4Kn3hIP/r9MxesLeo=; fh=OYFPLntDFpYgvzT/NKtNMO52NSVJYkQpXOK+UQuZgww=; b=FnX6HkpmJ3AwH4+tOjLB3gUKx2A1rCJK5p0AChMI32/rSAKQBzvp/wGatqEwc6mozw 9g+/6MSPOpdy2KNDW+i5c/WApVgmFZRi94SJt9c82VQF5ycXlHoQBzkYplP8vhZXbgd6 aqn20WH96SbvRGkEVQjTM3zwDIst8AGgCTr+4DjdmyEQu5NIPeDz+wp6Hg/w8H78HtoJ AgEXds8TtKvsvpbbz7yZMdB+OiJ0iVY+EfwGzfBSfW8Pj3hbQMNzhCykol7FlonTNatT 1L0ykL7Fm6QjaHz/znTUr9K2ncEfhKPar1z4T++6EwL+yNdNWCMPbZ0epkcQEg0InEN6 bSwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vq+WAAV6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [23.128.96.33]) by mx.google.com with ESMTPS id z5-20020a170902834500b001d06d30071dsi10680994pln.651.2023.12.14.02.53.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 14 Dec 2023 02:53:54 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) client-ip=23.128.96.33; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=vq+WAAV6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.33 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 58B008142D91; Thu, 14 Dec 2023 02:53:49 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1443832AbjLNKxJ (ORCPT + 99 others); Thu, 14 Dec 2023 05:53:09 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1443774AbjLNKw6 (ORCPT ); Thu, 14 Dec 2023 05:52:58 -0500 Received: from mail-wm1-x32c.google.com (mail-wm1-x32c.google.com [IPv6:2a00:1450:4864:20::32c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 24BFA189 for ; Thu, 14 Dec 2023 02:52:57 -0800 (PST) Received: by mail-wm1-x32c.google.com with SMTP id 5b1f17b1804b1-40c2c5a8150so72594855e9.2 for ; Thu, 14 Dec 2023 02:52:57 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1702551175; x=1703155975; darn=vger.kernel.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=vq+WAAV608iv8HAZrFaxnvrAdTtcbtsPv2IwdjqVJDQvKZBKql6afIRPZ6DtVAkSPK LKUai0WaESB2APfw8jtmxLJcJyJ0LaPQ40mlsNzFPEsOiODOfJEihG6IBgr7XsHB83fL FqOzDIzui+lKvj/QwtydVQsSPhK/vz8KRpllEWTXVeUALx50QFCU11OpEYIozJc34DnH TEI7pHUdzJipJENCVWfLEvz0Oz20HCSn0iNiAkvy7seAMIK2yD3j4MRjEhg620k7cVxk S9gCHWoB9dh9kkeXg9eNIsniDLUBqoK7MTlsuP4gYBRWEr6GhIuUAb4X8D/AmHFYHvp6 +GEA== 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=hWHwKAyZ4suUCesTVsA1+V+gRk0k7goBe3OEF8242sKVudoZz2/QWsoeCNxGc5wukw sL/99UGWLgvm8WeC6LsL5iSjaOOGxpCPZF+rKcUIWnfYa47RmW5DOjIrkQOOHT1UYODf /oyaDvgKZPubmWWk9FAWB8x+PjOzgmkcyiZqKadnLf4gb3p/1qlVJalkbai+VKTrhgVO Te5e1kG9doBO6YnsJh9raNHFXsOVp0ZiS8IpHhVcnIlDoZKjScSygK3kWLGUtSyzkezt j4HbwU0P5iI8UYoshMhxSbbc6bqFJdAlsmHxL4deMXqCXeJSzOgPtUKwGg9YtLHW5GLE AHLA== X-Gm-Message-State: AOJu0YzAzp+IDNA4oKfzwQH27s3oF9DZiWufOatOHwEXft/9RG/lXCki 5udHCcSAVM3UooW2tS7+OrKDEA== 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 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Thu, 14 Dec 2023 02:53:49 -0800 (PST) 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 --- 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 -- 2.43.0.472.g3155946c3a-goog