From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id D38ECC433FE for ; Tue, 15 Feb 2022 16:59:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242064AbiBOQ7w (ORCPT ); Tue, 15 Feb 2022 11:59:52 -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-Google-Smtp-Source: ABdhPJwtKBWHE7uchxkl/D+rN9SzCiJARcsI6wN3uHsBSXLCHXRsGcvWYNMeLBSSPz2R2d7Z87D0mw== 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 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