Received: by 2002:a05:6a10:7420:0:0:0:0 with SMTP id hk32csp586391pxb; Tue, 15 Feb 2022 22:58:41 -0800 (PST) X-Google-Smtp-Source: ABdhPJx8h430FXmTIAreNcfs+/F+QyOcqYTG46rr7nYj/hujJvThcVXiceOtXyaslMA8j0zlx4qs X-Received: by 2002:a17:902:f605:b0:14d:bd53:e2cd with SMTP id n5-20020a170902f60500b0014dbd53e2cdmr1547836plg.164.1644994720850; Tue, 15 Feb 2022 22:58:40 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1644994720; cv=none; d=google.com; s=arc-20160816; b=D4ypKdvfFMZ/s6OQumnXB5XhpmmuGpIFgP5VQJSOFGDDuc+ocYj1OvDCb+v8iWvHRF YwYkewAYsHOyh81nMgIBXR6M3aOSuZRocqrM3uZeK/gy7H6hFFAlIzta+bANKqNuxgc9 QuXHEBGwM0pO9kwXgwm3CeNlbn+bRWEwJQ3zxTg7VI69tWn7apZaLHiMYEJ0NK6MNd5P XfX4PEYTZzH7CFz0aK92yPDyaFeqvn1uU1i77Xg/YnBmNMFDZahV6oFS45CtVUPYpvF5 ho0NUq8ey8FiFsdafF4/Ghw6QJANVOFL/W1ohhWF/EsEi4XcarfSsv5MhpJf6UkMqPFT gaaw== 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 :message-id:date:subject:cc:to:from; bh=tiAR0/Nfz8KrF/kSonEXkaAqECpOfb5/oq7nUM9dxEw=; b=Flnh57KIr/w8WXRIwUaCA6rRVB5BwDHsdaN+L2SOeLU7MmxFa6OidUkTI0HINjApcL wyvyNsEVf/W7Vn6+Urs/8Bt/mtf36NFGQOU88vFX+JybPWZiMxDjfm6aYSO345UeT27R uQS2XAUJdBbZIQJDWr8wcnAlSRnlZ5amNnSrWZfO9dlXZY47Wo1zNp5ZIhWKUdcovKT/ 5ozcVku3UVjijWtDLG5mVGXCn/n56V/k9sSsSY1Ssr2cdeytpZ1syFQhqsF84bEPcKHD vgtqx/4aXE0hKfe+0TIgZkUdMaRIRofG8qEnKxK18VI7w6dDcBHaHoUi9Cr3fxrxdrwh KN6g== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id r3si16054635pjd.45.2022.02.15.22.58.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 15 Feb 2022 22:58:40 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 7AEBB238118; Tue, 15 Feb 2022 22:40:44 -0800 (PST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242861AbiBOSIp (ORCPT + 99 others); Tue, 15 Feb 2022 13:08:45 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:53466 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233706AbiBOSIn (ORCPT ); Tue, 15 Feb 2022 13:08:43 -0500 Received: from hs01.dk-develop.de (hs01.dk-develop.de [IPv6:2a02:c207:3002:6234::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A50E4DD97B; Tue, 15 Feb 2022 10:08:33 -0800 (PST) From: Danilo Krummrich To: krzysztof.kozlowski@canonical.com, 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 Subject: dt-bindings: ps2-gpio: convert binding to json-schema Date: Tue, 15 Feb 2022 19:08:26 +0100 Message-Id: <20220215180829.63543-1-danilokrummrich@dk-develop.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Changes since v1 ================ - binding as separate patch (driver patch will be sent outside the scope of this patch series) - fixes requested by Krzysztof - fix warnings/errors reported by 'make dt_binding_check' Changes since v2 ================ - add the driver patch to enforce open drain GPIO flags again - fix additionalProperties: false This series converts the ps2-gpio dt-binding to the json-schema. Additionally, it documents (in the dt-binding) and enforces to flag the given gpios as open drain, since the PS/2 bus is open drain by definition. Danilo Krummrich (3): dt-bindings: ps2-gpio: convert binding to json-schema dt-bindings: ps2-gpio: document bus signals open drain input: ps2-gpio: enforce GPIOs flag open drain Documentation/devicetree/bindings/serio/ps2-gpio.txt | 23 ----------------------- Documentation/devicetree/bindings/serio/ps2-gpio.yaml | 64 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ drivers/input/serio/ps2-gpio.c | 9 +++++++-- 3 files changed, 71 insertions(+), 25 deletions(-) delete mode 100644 Documentation/devicetree/bindings/serio/ps2-gpio.txt create mode 100644 Documentation/devicetree/bindings/serio/ps2-gpio.yaml