From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f54.google.com (mail-wm1-f54.google.com [209.85.128.54]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CBBD1411661 for ; Tue, 11 Aug 2026 08:10:04 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.54 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786435807; cv=none; b=JsFQgxu2QKoUQ7WGYh+CQuFdyS60wGyAytuMIwfxgcG9gxHt3sYckNDLIHz/TK4lSb13FOJ4PFLuV0leGKX17kr5D0jGpiODZFMSC6OdUvksbBFzbF0DTGp2VOdN0u7o0X+dxgW8YjtRlFC8oMKM2a4FyDdjDnIBKrhoVNezvJM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1786435807; c=relaxed/simple; bh=NXs1HeO/pBJziwD3M7Zetj+JP08cqnGqJzklwV5SGqg=; h=From:To:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=NOWGqzjRxoubT844yun11+TGA0KNo1YCUvXJVx1ZqZKP5ouMjSScVX9TOzue65ReOJlijSwoILZEh+ZoIGuqCHhzhTUXH9KEsy5sixQxKYNUA0GMj+vA5FvJ4PUmlPMGmWHbdzG3De2GmrqVie+3OgSFtxFOjd4T0ztINYex2mI= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=DwH6HUgB; arc=none smtp.client-ip=209.85.128.54 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DwH6HUgB" Received: by mail-wm1-f54.google.com with SMTP id 5b1f17b1804b1-4980dc26022so28262385e9.1 for ; Tue, 11 Aug 2026 01:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1786435803; x=1787040603; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to:content-type; bh=udZAkm1oxDo7yBPqbOtYYpIHCvzKK/t/xyTiusa5l20=; b=DwH6HUgBy66s4CooSeEcDIVIa+/FDZoXJB8jvGNacFHJEYpYJ/m//Equx8zp5hD9Xl Ud5veVDS5PBpYRuw2YExK00r+m7EZ5GhlKsdw6aKF06DhJ9tmze8PFFJ0J0QFsO+eo49 xv37fnx5e5iRLw/trNnPRSQcjF1X2IAKMgHZjfdTD42mit0rQYmeH2SUiqh5k5b33VQa z7xqgQ0n/kkV33EFkXcCQE8jFqWPq+7RivcVHBbFfCAzF6VIi/uLUPpCCXRVyweT2ZjG qBArK45j6oJGx0cYHbqIYr5nW2guiZzZZxziCjRIGWijJhCHijjMgFAbHsDPyXEOwXW4 CUCw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1786435803; x=1787040603; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-gg:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to:content-type; bh=udZAkm1oxDo7yBPqbOtYYpIHCvzKK/t/xyTiusa5l20=; b=ZFu4l3x+/Maw+ADdql6zDWlWu121KfucOxe8CkStusuoDfHPqi0UTg3h1WBGWbwyEn mdrtpT3qsosF0QGdwPc1p3ZEnwU6hMIVhb4U6IkdPe583ckFK7y4//gdhRySJJYy1SpO DmbkPm07Y+mixGTSOr0rm+whb/3iPtaPTRZjfu9bjvgcYDHx+SMuyL9DNqa2rru9SzwV KaMEWS+AwvOieWfdqp4odNxLiLwQTxc/dTzRR+ylKf2fq05xuA6lZnZ6Fp5mlY+dYdta 5PskdNqmhNQArA8t/KbnSabYaxNX+a12+fxXoFJQRJ6gPAuTGh8o/spufK+KLIkrZuLh 6vSQ== X-Forwarded-Encrypted: i=1; AHgh+RrpXYgoFydWSUwin/lH8io0jgvpnsfw5luB6/zWwYuchbFYJyy9cP8SpMXDXyb1HwCvmKPPTHFgs2CErwU=@vger.kernel.org X-Gm-Message-State: AOJu0YxZi3/fIDy/vDu92koedWUNGOtdFEhQHtP6vDhxDRfsxmyB2xT2 XWxDn3YIuX6auw88pALnpq6AHR5zLQU7F/PNgjeYXNp4oD8+6y75jO1d X-Gm-Gg: AR+sD13V3KQivvZOeqHMY5g91mjVBKfzU3WPfpnTG7+LU0Pzmtipw1eQ1lQgycZ1brI dnZ0Ec8RMTsqAAOBctZj9EV7CpC/JEko+ZEBwcBgM077jXAoFaVerQnZwvji1y81IVXy4jWR0zp cCOH8PxWe3sCoduMNohK1xakSyOv/rNIvuqNbXpIrzHxaSfCj+wKFZSrcd2pnWpm0kLKTXZGaYa CGcT+r1D/77hSKoGnr1Lv01HdHJXvkPT9TaqjQBJN4zZ79P8jKDx0hXosW1ZUwfMPMRWzYz3tQf 4jMeckziInm6QTQtDUOZVlvODjfYruyXNSJLC+99Z6ipuRNZ3vTt/9ju3CKFA1wbudeiCuQFCBM I98wg/FX+FMKoYgg4znt+fThw94erV0sH8e5jpSRaEMbTSk9F9fNVkMKVlXUqORG2aTCutJuIuT sxgfx90u/PNJYZT+UeJ6DIBo8HBkNSjH9pVaXYUQWF2h0LboYeGuD4XYMhyR9pKSr1cEJhE56Fv Ajua9qHaALy3fEvJpptgrQEN7W8gG0J2YZKUvJxbYB+ooBwwGuJGMqJy/Q= X-Received: by 2002:a05:600c:1c07:b0:499:484a:81d0 with SMTP id 5b1f17b1804b1-4997845f6c7mr19665115e9.9.1786435802820; Tue, 11 Aug 2026 01:10:02 -0700 (PDT) Received: from Ansuel-XPS24.localdomain (host-87-20-3-207.retail.telecomitalia.it. [87.20.3.207]) by smtp.googlemail.com with ESMTPSA id 5b1f17b1804b1-49977df9489sm45336675e9.1.2026.08.11.01.10.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Aug 2026 01:10:01 -0700 (PDT) From: Christian Marangi To: Greg Kroah-Hartman , Jiri Slaby , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Andy Shevchenko , =?UTF-8?q?Ilpo=20J=C3=A4rvinen?= , Benjamin Larsson , Christian Marangi , John Ogness , Manuel Lauss , Haowei Zheng , Binbin Zhou , Rong Zhang , Randy Dunlap , Gerhard Engleder , Lubomir Rintel , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-serial@vger.kernel.org Subject: [PATCH v6 1/3] dt-bindings: serial: 8250: Reorganize compatible to single enum Date: Tue, 11 Aug 2026 10:09:46 +0200 Message-ID: <20260811080950.664379-2-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.53.0 In-Reply-To: <20260811080950.664379-1-ansuelsmth@gmail.com> References: <20260811080950.664379-1-ansuelsmth@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Instead of declaring each single compatible string with a const, move them to a single enum and reorder the Nuvoton compatible as it wasn't sorted. Put the generic ns first and then follow alphabetical order. Signed-off-by: Christian Marangi --- .../devicetree/bindings/serial/8250.yaml | 27 ++++++++++--------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/Documentation/devicetree/bindings/serial/8250.yaml b/Documentation/devicetree/bindings/serial/8250.yaml index bb7b9c87a807..039bd392f876 100644 --- a/Documentation/devicetree/bindings/serial/8250.yaml +++ b/Documentation/devicetree/bindings/serial/8250.yaml @@ -99,19 +99,20 @@ allOf: properties: compatible: oneOf: - - const: ns8250 - - const: ns16450 - - const: ns16550 - - const: ns16550a - - const: ns16850 - - const: aspeed,ast2400-vuart - - const: aspeed,ast2500-vuart - - const: intel,xscale-uart - - const: mrvl,pxa-uart - - const: nuvoton,wpcm450-uart - - const: nuvoton,npcm750-uart - - const: nvidia,tegra20-uart - - const: nxp,lpc3220-uart + - enum: + - ns8250 + - ns16450 + - ns16550 + - ns16550a + - ns16850 + - aspeed,ast2400-vuart + - aspeed,ast2500-vuart + - intel,xscale-uart + - mrvl,pxa-uart + - nuvoton,npcm750-uart + - nuvoton,wpcm450-uart + - nvidia,tegra20-uart + - nxp,lpc3220-uart - items: - enum: - exar,xr16l2552 -- 2.53.0