From patchwork Tue Jan 24 09:15:51 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 47598 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:adf:eb09:0:0:0:0:0 with SMTP id s9csp2049558wrn; Tue, 24 Jan 2023 01:21:23 -0800 (PST) X-Google-Smtp-Source: AMrXdXtvAaASEmldt7Zi2AztHpkjVeUM9LlMiOEUQmPNSh67RfII4c1OPKDqvCP2ZHrCB9J2ltvQ X-Received: by 2002:a05:6402:5110:b0:49d:fff2:d4d7 with SMTP id m16-20020a056402511000b0049dfff2d4d7mr39012950edd.30.1674552083444; Tue, 24 Jan 2023 01:21:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1674552083; cv=none; d=google.com; s=arc-20160816; b=BqWnjaF9nr8uFJNZMxIav8TGC+XGzYx5qr6cYOQcBT6ln3B+jyCQkE0XFkWlNgN8Up 7j5VunyPcWUOSFbtqlTPZm2j2PLWQi4yQal9C1bqgkcUABbQ6GXhtTyiCxfEfxZckerO F0i3qtZSUnXK/N9LV8gDOsPgz3NcqIOZv1vD83kPmXoA/wzfKOvrv8WxiX9L4XDUnrZ0 WOki2d/lPmOSdvtdYuEZYwS0tGqgsKDt7d3BKltTj7X/lhX8WX/o6VLwJbHWw6oazDo4 UzcVC7TguKbcgjSHByuYfkqUFsjHd1LTC5b3cxYnJ7wHX/r2Jzj/UV6UZqmRlrQnkGgx 78ew== 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=UxnGtIs+CoSyW5044hODkJ4+MUCbjhxjSL5Kp9ZnQxs=; b=SqusEIYk8MDnPgER16N9ptmLxHjBS0ZO5SiCFZprZs89/8clatw4yo1xb1X15yD/OM 7NRST9f4F0yfS8KR6w1nqRn5WHmZCye6tyWgFyBWpc9edAhGY6ITi/L0hWxzvrcUsun+ J+zsJdGCVD+16Q80KlqaO9U3WfvUPDRSRIhFW1PdbGm1WSXDhq9t9P0M/fbiejwMypvs 9e17j0fhmRA08/m+camsPRvxmctLjG90AQthRvVALjV96lP8XZNdY1SpKih2J2nxhn2T SBHzonqpR32SCc9wklcGbrNi/ZUzgf9e7lXQ+HNeRos0DGfmGSFYXxPco55gHiAztL7t bbjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ynllctxn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id o25-20020aa7dd59000000b0049577a9f113si2157442edw.566.2023.01.24.01.20.59; Tue, 24 Jan 2023 01:21:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Ynllctxn; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233422AbjAXJQS (ORCPT + 99 others); Tue, 24 Jan 2023 04:16:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47492 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233404AbjAXJQQ (ORCPT ); Tue, 24 Jan 2023 04:16:16 -0500 Received: from mail-wm1-x335.google.com (mail-wm1-x335.google.com [IPv6:2a00:1450:4864:20::335]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B18022B2A7 for ; Tue, 24 Jan 2023 01:16:14 -0800 (PST) Received: by mail-wm1-x335.google.com with SMTP id k16so10898460wms.2 for ; Tue, 24 Jan 2023 01:16:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; 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=UxnGtIs+CoSyW5044hODkJ4+MUCbjhxjSL5Kp9ZnQxs=; b=YnllctxnH3lzgD+EkXJ5CBe2SM5+FtZnnqa8+mqthMSc3elP9JPGPtvV/flyiga+PS b1pRCxEhdDtKFeFVfI/LZkbUBcw0YboNJpAs/8/+8o1wdFB24iCTnrx6UNegp0WP4qMg QQMKC8yO+nslnWeq+qYPQ14csU2OLowneTeO0KSofM0UZc/h3IlunhdF7iul/AJ38HV+ u1ymLwMmzKbmsahGx6cdNLzBM6OxVPGx3f1pgenpiZQHX8/Z81RdYPtImrfshukt6BGD xLgMMKXK2WuzeAAW/EjGokg7YujOukYKFUh0sZMIOxwilq0pufNSBEA5I4dzyUxXBkY5 R6Kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; 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=UxnGtIs+CoSyW5044hODkJ4+MUCbjhxjSL5Kp9ZnQxs=; b=VWt8evmAnX8j9QZB+9opPth11EmLRVacD7qTPD8WlBECbZSTHyfB3ZEawsQOHbrs2Q xMEclAJUd1j9eRr8z34cXiV5NoMh01degQSXLmaBFu3UDtl0IWphBpzrKrLuUfQKumqw WerTgDgp3WHyt2FCi7X+TclxvHGro8mjfpW3C5vtd7WBpsu8HhNeTYIkLFCilQ9DVQ1z 398AUnglZjmme+BzotAscYit2g33McJP5zQFUBK6/Qw9BNiVhv47KscqMqfoO5RySQKK CvhLZPPybsj0wlUWW0YSHwzwK1EGNXXQUKyIvD8dLLHlhHA0pMMxSW5ImyEyz9GHFXgb 9MMg== X-Gm-Message-State: AFqh2krvTPjgd9zYdpIdYPF94B5YM4vlmFB0y+zrC+ModxmWDDjBvlat JpYNelNq4KhqKNsMcE2ukkIjrA== X-Received: by 2002:a05:600c:434b:b0:3d9:cc40:a8dc with SMTP id r11-20020a05600c434b00b003d9cc40a8dcmr25619205wme.27.1674551773221; Tue, 24 Jan 2023 01:16:13 -0800 (PST) Received: from krzk-bin.. ([178.197.216.144]) by smtp.gmail.com with ESMTPSA id j25-20020a05600c1c1900b003c71358a42dsm17882131wms.18.2023.01.24.01.16.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Jan 2023 01:16:12 -0800 (PST) From: Krzysztof Kozlowski To: Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Neil Armstrong , Kevin Hilman , Jerome Brunet , Martin Blumenstingl , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , Fabio Estevam , NXP Linux Team , Palmer Dabbelt , Paul Walmsley , Maxime Coquelin , Alexandre Torgue , Lubomir Rintel , - , Vignesh Raghavendra , Michal Simek , Chester Lin , Fugang Duan , Magnus Damm , Geert Uytterhoeven , Pragnesh Patel , Le Ray , Peter Korsgaard , Tomer Maimon , linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-amlogic@lists.infradead.org, linux-riscv@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com Cc: Krzysztof Kozlowski Subject: [PATCH v2 01/12] dt-bindings: serial: amlogic,meson-uart: allow other serial properties Date: Tue, 24 Jan 2023 10:15:51 +0100 Message-Id: <20230124091602.44027-2-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20230124091602.44027-1-krzysztof.kozlowski@linaro.org> References: <20230124091602.44027-1-krzysztof.kozlowski@linaro.org> MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1755895124944850881?= X-GMAIL-MSGID: =?utf-8?q?1755895124944850881?= Reference common serial properties bindings to allow typical serial properties: meson-axg-jethome-jethub-j100.dtb: serial@23000: 'bluetooth', 'uart-has-rtscts' do not match any of the regexes: 'pinctrl-[0-9]+' Signed-off-by: Krzysztof Kozlowski Reviewed-by: Neil Armstrong Acked-by: Rob Herring --- Changes since v1: 1. Add tag 2. Use local path (not absolute to /schemas/serial/serial.yaml) --- .../devicetree/bindings/serial/amlogic,meson-uart.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml index 7822705ad16c..44cb3cf22bfb 100644 --- a/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml +++ b/Documentation/devicetree/bindings/serial/amlogic,meson-uart.yaml @@ -19,6 +19,9 @@ description: | is active since power-on and does not need any clock gating and is usable as very early serial console. +allOf: + - $ref: serial.yaml# + properties: compatible: oneOf: @@ -69,7 +72,7 @@ required: - clocks - clock-names -additionalProperties: false +unevaluatedProperties: false examples: - |