Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp439602rdb; Thu, 19 Oct 2023 08:37:43 -0700 (PDT) X-Google-Smtp-Source: AGHT+IEstKxINsEqDnZ/hlEvU9M+zR6NRE65WEPjUCzflhdaTN3BHHGBTE5oQTNC5UxoYGBxkvjc X-Received: by 2002:a05:6871:88e:b0:1ea:30b2:3fcc with SMTP id r14-20020a056871088e00b001ea30b23fccmr2590624oaq.31.1697729863357; Thu, 19 Oct 2023 08:37:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697729863; cv=none; d=google.com; s=arc-20160816; b=ZZLfA+hMCRgb4EjxCEdLXaDDNUOnazJKMWRMPz5el1jEyfhOOwhPP0ppIHZnzBcVbE 0Q7N9pqQKQpho6jcic1b0Sed0f2Pw3o4jNg7QMTsKTKRbCl8vasJ+chYjYkKt3WDvM7z mzcmYU8fV7BAqGcfv+DQCfa7gPTt5BZZtLuJVZ1eYuv3ntk0d3eL67ucgTceg8Vqa/c/ B84hjZDXEO7zQiIWWkB5F9UmcL3zKqA2BrbHPNbbjBrvRKahagsnkgpRxbDpa935svDG t/3mfRTz1RiiNT5411fOjuRtrWZ561mugeFgUuPkLBTyCq8Vre0qguDNW+VKeDMP5yET MPJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=/AR7c+xO/FHFxlaLn59doLq8hMSxqXt3He6h1qxjnWU=; fh=aC0MHY/UEAvZbvHXrqcTtypIg12HJ48rll+07K3ezY0=; b=fVadIZIgC34wtpTNtf3ouf4G5L4rmjSMsfWvW8WrX1lONw6Wxtrib6uNijnlsPpCWf tuoOq+0dtK1776YKNSzJ+Of1jbMeZipBoqYHYwC14GEXmWcxcLQqFq3Ggxxt6obdtqJq ciMRPGW1qdIk8M2TZc3NA8xXFtWEumpfr3YLnWjEcnXCvwlO4toa0YlzFW45nav8VZ4/ j0Tb3ynuYK85kkwgX1tDvrahQQHbpYvk1PJSWNWKh0qiT8ehoJEZF58Qhxqeqe7jgKt9 VsDRCigyGhnzd4Avjvin3bvaytLHfJi1XoXahG+Q5aFSq50g9jN7ETei5ATCpfMnzilo bcBw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id f14-20020a056a001ace00b006b857d490b7si6611583pfv.87.2023.10.19.08.37.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 08:37:43 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id 95BD383B81AD; Thu, 19 Oct 2023 08:37:40 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346339AbjJSPhd (ORCPT + 99 others); Thu, 19 Oct 2023 11:37:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36798 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1346296AbjJSPhc (ORCPT ); Thu, 19 Oct 2023 11:37:32 -0400 Received: from mail11.truemail.it (mail11.truemail.it [217.194.8.81]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D5EE7130; Thu, 19 Oct 2023 08:37:29 -0700 (PDT) Received: from francesco-nb.int.toradex.com (93-49-2-63.ip317.fastwebnet.it [93.49.2.63]) by mail11.truemail.it (Postfix) with ESMTPA id F200720F2D; Thu, 19 Oct 2023 17:37:27 +0200 (CEST) Date: Thu, 19 Oct 2023 17:37:26 +0200 From: Francesco Dolcini To: Geert Uytterhoeven Cc: Francesco Dolcini , Greg Kroah-Hartman , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Vignesh Raghavendra , linux-serial@vger.kernel.org, devicetree@vger.kernel.org, Francesco Dolcini , linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] dt-bindings: serial: 8250_omap: add rs485-rts-active-high Message-ID: References: <20230531111038.6302-1-francesco@dolcini.it> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Spam-Status: No, score=-0.8 required=5.0 tests=HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 fry.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 (fry.vger.email [0.0.0.0]); Thu, 19 Oct 2023 08:37:40 -0700 (PDT) On Thu, Oct 19, 2023 at 05:13:01PM +0200, Geert Uytterhoeven wrote: > Hi Franceso, > > On Thu, Oct 19, 2023 at 5:05 PM Francesco Dolcini wrote: > > On Thu, Oct 19, 2023 at 12:09:06PM +0200, Geert Uytterhoeven wrote: > > > On Wed, May 31, 2023 at 1:14 PM Francesco Dolcini wrote: > > > > From: Francesco Dolcini > > > > > > > > Add rs485-rts-active-high property, this was removed by mistake. > > > > In general we just use rs485-rts-active-low property, however the OMAP > > > > UART for legacy reason uses the -high one. > > > > > > > > Fixes: 767d3467eb60 ("dt-bindings: serial: 8250_omap: drop rs485 properties") > > > > Closes: https://lore.kernel.org/all/ZGefR4mTHHo1iQ7H@francesco-nb.int.toradex.com/ > > > > Signed-off-by: Francesco Dolcini > > > > --- > > > > v2: removed reported-by > > > > > > Thanks for your patch, which is now commit 403e97d6ab2cb6fd > > > ("dt-bindings: serial: 8250_omap: add rs485-rts-active-high") > > > in v6.4-rc5. > > > > > > > --- a/Documentation/devicetree/bindings/serial/8250_omap.yaml > > > > +++ b/Documentation/devicetree/bindings/serial/8250_omap.yaml > > > > @@ -70,6 +70,7 @@ properties: > > > > dsr-gpios: true > > > > rng-gpios: true > > > > dcd-gpios: true > > > > + rs485-rts-active-high: true > > > > > > make dt_binding_check complains: > > > > > > Documentation/devicetree/bindings/serial/8250_omap.yaml: > > > rs485-rts-active-high: missing type definition > > > > For some reasons it works for me (and worked when I did send the patch) > > > > $ make dt_binding_check DT_SCHEMA_FILES=8250_omap.yaml > > ... > > HOSTCC scripts/dtc/libfdt/fdt_overlay.o > > HOSTCC scripts/dtc/fdtoverlay.o > > HOSTLD scripts/dtc/fdtoverlay > > LINT Documentation/devicetree/bindings > > invalid config: unknown option "required" for rule "quoted-strings" > > xargs: /usr/bin/yamllint: exited with status 255; aborting > > CHKDT Documentation/devicetree/bindings/processed-schema.json > > SCHEMA Documentation/devicetree/bindings/processed-schema.json > > /home/francesco/Toradex/sources/linux/Documentation/devicetree/bindings/phy/qcom,usb-snps-femto-v2.yaml: ignoring, error in schema: properties: qcom,ls-fs-output-impedance-bp > > /home/francesco/Toradex/sources/linux/Documentation/devicetree/bindings/arm/vexpress-sysreg.yaml: ignoring, error in schema: properties: gpio-controller > > /home/francesco/Toradex/sources/linux/Documentation/devicetree/bindings/iio/temperature/adi,ltc2983.yaml: ignoring, error in schema: patternProperties: ^thermistor@: properties: adi,excitation-current-nanoamp > > /home/francesco/Toradex/sources/linux/Documentation/devicetree/bindings/iio/adc/adi,ad4130.yaml: ignoring, error in schema: patternProperties: ^channel@([0-9a-f])$: properties: adi,burnout-current-nanoamp > > /home/francesco/Toradex/sources/linux/Documentation/devicetree/bindings/iio/addac/adi,ad74115.yaml: ignoring, error in schema: properties: adi,ext2-burnout-current-nanoamp > > DTEX Documentation/devicetree/bindings/serial/8250_omap.example.dts > > DTC_CHK Documentation/devicetree/bindings/serial/8250_omap.example.dtb > > > > > > any idea on what could be different between us? > > Are you using the latest dt-schema? Nope, and I tried to update it and now everything fails in a miserable way. In any case the fix is clear and I am pretty confident the issue I had is what you just wrote, I'll send a patch. Francesco