Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp358095pxb; Tue, 15 Feb 2022 15:19:03 -0800 (PST) X-Google-Smtp-Source: ABdhPJzQtyS4QvFuQpuCOMfDQlmmjBkS29yW2aOhV1iNg68DUGVVFWq5Tf62RLHgDkTrSlphOyBL X-Received: by 2002:a17:902:e309:: with SMTP id q9mr1319213plc.69.1644967143714; Tue, 15 Feb 2022 15:19:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644967143; cv=none; d=google.com; s=arc-20160816; b=Fg7yFk75ZttePXIYI3j5GahxwhnyK9uf24LVBSCgezZG/N7ESC0ng/qRBB4qsLZlXn w1lPGv0jO6OxmZle7VoaflGS9sATya2jpf6qYl707X6YHlNuhbLDaz6fw1FLwsVdFsy3 DU53Bu2xg70uGHNwwHLWU2ZrcEJ278OFyNT+yMLdapmfhEH0gdMdkO4Bfom6G6Wuqt80 qUe1+Bchtt3xjGMfSWaVahvKpm1/J33mHk6JZzpK+kqDlFpTlcWbSYP+lM8wCZFYyk1c 2mu1zz+GNvrxIptE1Npeq+5t4CMEpPWk9vmDrbdNlk1sNnyXYso01i2/nGusJvZH31yW rRIw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=FL5EtCjgTQtxo/nskqCSYLzpR6iBfpcAoCDcKWnA4rc=; b=nRdpDiAnJAwfrDZtn6CeDRatOCXFwiWsf8AjDb5UZqYxHt8LHJPN4vbJ8O/hZtieas aE1ZjFly3PvJMrOPGHoDB0vnRYUalYPihQULQjXsqz9x6r/MfAXnKy3U7ZQ8qWyPraP1 vpBB9WjPJMhXz60xjdf1OKfDNY1Zq/7fZm+VfCJ6WZ/aFAiz3EU1TFocA2xraCyuAbC2 /qjEEPvOYe6tNIgqCQRYdVkToXtjjBbHJDAtzN5UqRe5HzDWae5+JSjAgLkd9ST264Ia B6zjD0q2lArRwihtRUoXc715D/impkTTRM7YtwkGj7bq8nhLcsVmy2iN5z7Mf1+gvuhy 5ydQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@canonical.com header.s=20210705 header.b=qLxJHA0t; 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=canonical.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id in13si14736947pjb.56.2022.02.15.15.18.46; Tue, 15 Feb 2022 15:19:03 -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=@canonical.com header.s=20210705 header.b=qLxJHA0t; 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=canonical.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242059AbiBOQ7v (ORCPT + 99 others); Tue, 15 Feb 2022 11:59:51 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:56824 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233855AbiBOQ7u (ORCPT ); Tue, 15 Feb 2022 11:59:50 -0500 Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8DC22101F1C for ; Tue, 15 Feb 2022 08:59:39 -0800 (PST) Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-1.canonical.com (Postfix) with ESMTPS id DB35E40333 for ; Tue, 15 Feb 2022 16:59:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1644944377; bh=FL5EtCjgTQtxo/nskqCSYLzpR6iBfpcAoCDcKWnA4rc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=qLxJHA0tFlQiKH4EzcNIXXOAeVWw2E7UpTzBjjvRo9UefWzvT470F/6cO0lzk7bbp 3nRyRzLvXj8oGOa//i/YQpiCXQ3DWft3BsFD0abTO0rFpUXngoZGVtcCriPF7r3Hoy T3GCYNeNM7WNr0MeivFbmLdzyGFMgqEt8X3JGoTzwp2ct5WMFMPHtCsGUhZ66XLpqS uxF1IGX1fnOyH4hMHqkvSLWWpeiWQi+DVArjDG9YX9FM9jdPhb/f2snmOUFKx2V7nh SiPSsh3ZDApFLTD34rlOAN7kG5HrAyzZAZPKuUB4EOgoHy3PDFzN4cvXMlPfXuja1J STUdJhtGPWdhw== Received: by mail-ej1-f72.google.com with SMTP id 13-20020a170906328d00b006982d0888a4so7530363ejw.9 for ; Tue, 15 Feb 2022 08:59:37 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=FL5EtCjgTQtxo/nskqCSYLzpR6iBfpcAoCDcKWnA4rc=; b=1LTEpgYnNf0prbCC/W0v8ASSDosIAjUfC5R/iwVYHJIRI5Jy4yq/9UpdOtY68rcpwL PDv0wErEMjj9AHFDFLub7pfCRUBz9jJO5G6Pt1eiwnCk5eh8AElf6fv1gHG4ISr6cGO3 kInIcn8VoY2PSROIXYAiLpuKKNIFt/WKCpM3dVo3D3N+wVh9wdUWb7OUsWTehlctkqO/ PgxdlkcKycIpgEAShLyt9TLiTr2/V/5RgEuNxPEphDeIfJfbTcYZ3M5FtNa/emfEuALa QN3VBcfeHA+Arm6dqFabZWhF/orokkzaVMe2ytQdMCtj4BhcDnun9XU2W/S5C5hMt0cS 0NPw== X-Gm-Message-State: AOAM532bPOrvoD2AM8g5oVqOQ+KnUU5cgNH14SijLRkvNKMkq4G6Ngpc Pb8MwAZtwEUFUK5LwmVhw3nsWp/i32wkldDiizQyPEjpHWZWNeYbFFxY6ne4CCs149z3HPLxcoq t34XwDn0GSMzAe9fcb07KvBQ6l6W9QmR8HYbJ95fDlQ== X-Received: by 2002:a05:6402:280f:: with SMTP id h15mr5000774ede.113.1644944377597; Tue, 15 Feb 2022 08:59:37 -0800 (PST) X-Received: by 2002:a05:6402:280f:: with SMTP id h15mr5000747ede.113.1644944377385; Tue, 15 Feb 2022 08:59:37 -0800 (PST) Received: from [192.168.0.109] (xdsl-188-155-168-84.adslplus.ch. [188.155.168.84]) by smtp.gmail.com with ESMTPSA id y11sm184136edc.1.2022.02.15.08.59.36 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 15 Feb 2022 08:59:36 -0800 (PST) Message-ID: Date: Tue, 15 Feb 2022 17:59:36 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Subject: Re: [PATCH 1/2] dt-bindings: ps2-gpio: convert binding to json-schema Content-Language: en-US To: Danilo Krummrich , dmitry.torokhov@gmail.com, robh+dt@kernel.org, devicetree@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Cc: linus.walleij@linaro.org References: <20220215165113.52659-1-danilokrummrich@dk-develop.de> <20220215165113.52659-2-danilokrummrich@dk-develop.de> From: Krzysztof Kozlowski In-Reply-To: <20220215165113.52659-2-danilokrummrich@dk-develop.de> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-4.5 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A, RCVD_IN_DNSWL_MED,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 lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 15/02/2022 17:51, Danilo Krummrich wrote: > Convert the ps2-gpio dt-binding documentation to DT schema format using > the json-schema. > > Signed-off-by: Danilo Krummrich > --- > .../devicetree/bindings/serio/ps2-gpio.txt | 23 -------- > .../devicetree/bindings/serio/ps2-gpio.yaml | 58 +++++++++++++++++++ > 2 files changed, 58 insertions(+), 23 deletions(-) > delete mode 100644 Documentation/devicetree/bindings/serio/ps2-gpio.txt > create mode 100644 Documentation/devicetree/bindings/serio/ps2-gpio.yaml > Please version your patches in the subject. You can achieve it manually or with `git format-patch -v2`. I think lack of v2 confuses b4 diff ("ERROR: Could not auto-find previous revision "). > diff --git a/Documentation/devicetree/bindings/serio/ps2-gpio.yaml b/Documentation/devicetree/bindings/serio/ps2-gpio.yaml > new file mode 100644 > index 000000000000..41e43d797651 > --- /dev/null > +++ b/Documentation/devicetree/bindings/serio/ps2-gpio.yaml > @@ -0,0 +1,58 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/serio/ps2-gpio.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Bindings for GPIO based PS/2 > + > +maintainers: > + - Danilo Krummrich > + > +properties: > + compatible: > + const: ps2-gpio > + > + data-gpios: > + description: > + the gpio used for the data signal > + maxItems: 1 > + > + clk-gpios: > + description: > + the gpio used for the clock signal > + maxItems: 1 > + > + interrupts: > + description: > + The given interrupt should trigger on the falling edge of the clock line. > + maxItems: 1 > + > + write-enable: > + type: boolean > + description: > + Indicates whether write function is provided to serio device. Possibly > + providing the write function will not work, because of the tough timing > + requirements. > + > +required: > + - compatible > + - data-gpios > + - clk-gpios > + - interrupts > + > +additionalProperties: true > + I missed this part (lack of) in your v1. This has to be false. Best regards, Krzysztof