Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp4478546rwl; Mon, 3 Apr 2023 05:44:04 -0700 (PDT) X-Google-Smtp-Source: AKy350YR9OelQbkubSQxveEmOD/9sicR6iUa9ZngOimcfN84cyGOwC/eqfYhvaPPYrp5R2DjbpfZ X-Received: by 2002:a17:906:5811:b0:931:d644:b9d3 with SMTP id m17-20020a170906581100b00931d644b9d3mr35739667ejq.59.1680525844192; Mon, 03 Apr 2023 05:44:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680525844; cv=none; d=google.com; s=arc-20160816; b=szLgKYSzIWzO3F82HGsFLF/2O+bXccAuUyMQeZnCNtKq9h4+ZgSeolA6jQcNu5WmwZ hOQ/npQi7xz1BJE0vCoeSQVgxkAG/pdwy9WnVeYgH6FXq7AVU5vc2VaQn3tX8khVfBgb xrRY+1RuLc66YBDKEO6t/iwgpiaKeUvD7Ozw2qQwwSJenynatyLFmYhByQuRCs9oiclB sj6Pi7xodXsWLSynV/n9jygu4MkoSb+w7rvMrp4vRmd0dX9vY3LmvvcvliMlAestZVOR N7kh511CRYJWvdnmokq8drrZZaRBOfanHlyaHBE5qFJQI51A59copPy0YXQltIlX9roB fjAg== 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=qpyLniNan8kXaWmdK0bPB2p3FPHPkCqFQCXNF67g44w=; b=lp+s6ktm+1KlrW1GQLJ+OJ91DIZ5dmhsxMMcb/ON5YEDp8Qv0bBfjiFE0Heiam9GxW vgh24HstgkY3Adrfj7IvYdkxSF48AC6oW4HgLk/TRye1W3mY8mvJY239TsRcLoeNSDH8 Bse9UZoo2OhXRNHLb8TyHek2iiZttUXhlIkGFAi/CGJRJ4hRjoq4dXoLw3OuJX5/hl3m 8qGTQoVI8lV8K9G6MgNMS4mGVEFcPtSEHktMvSxTiKGlp3F7Op7hbfidvUL0gA6XnwF9 XIa0DU5mkVdA/ZzlyycT0959epn4+2ZeClB9w/05urr92UzxMi4TLe65v/drTe7H8b7x GN9g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=FpBaA6xb; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z19-20020a170906669300b0092d5457516asi899872ejo.589.2023.04.03.05.43.39; Mon, 03 Apr 2023 05:44:04 -0700 (PDT) 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=FpBaA6xb; 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 S231448AbjDCMiO (ORCPT + 99 others); Mon, 3 Apr 2023 08:38:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33512 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231821AbjDCMiM (ORCPT ); Mon, 3 Apr 2023 08:38:12 -0400 Received: from mail-ed1-x52b.google.com (mail-ed1-x52b.google.com [IPv6:2a00:1450:4864:20::52b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 821C1358D for ; Mon, 3 Apr 2023 05:38:11 -0700 (PDT) Received: by mail-ed1-x52b.google.com with SMTP id b20so116758696edd.1 for ; Mon, 03 Apr 2023 05:38:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1680525490; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=qpyLniNan8kXaWmdK0bPB2p3FPHPkCqFQCXNF67g44w=; b=FpBaA6xbw0CpGMMiVJLqnlfsDevhHDaVIP+Bzng9cI/bE40CyZJI+ZxU882eMNS/b8 9R/wd+LV9AJsUzDKy228ECHJJ0GT8Gvy7X5kAvttYpYtyad5FVR/EwMf4fJeiD9ZJow4 vOP5DGfnfZrIcazDpDH08u//HXiaMU70H5tY+rfqwOCTkVJnXXTjwYugUTNztf4PHi2l 85dPDwlyU7us7eYNoFtfogUlFAnlICMQo+e0PGrgHQUb7A8V9ziHgPvK/q+2np+lhJDR BPFRWT5Cb9jlFQ9kkejwJTgttSRbUfOyd9FDgW4/GVyUz9HOCAX28xuyWTUKuK+LSVKy VxSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1680525490; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=qpyLniNan8kXaWmdK0bPB2p3FPHPkCqFQCXNF67g44w=; b=j/STcn5Hb94BDKxNafwfB9H390Aw5u++plknqnfju7utr9hIs+OhUzgVQmZNYWnmE1 wDvEAgPN/RILQ+MHi8CVas/XtjMqn12CRDssURv+ClxEewNn5I43R4Ep8xplrGxEsxD7 xNDsJ+Pwm+NLDu6iN4phN9L+C8vcaBqyxNj+mjwBPnujlxtvJT3NPSzju9IBnBVW3SHU WMBZPlCvgxtcq0vIZM+EswCM0WduUk4/5ndQKFMPO7uwTIbvxlfgn7p2fEnQROaavSbQ By+MERXCmfELL8gGDdbwNYzEIXTFx/Wgk3HgVVkUvHJhF3jWY0G7A0JjilKD1qX25h6d uzbQ== X-Gm-Message-State: AAQBX9dPtjBgdX9a7pLBk8yYPWc8EK6DCo3V/xUiY6RVRq1TVAu34jzw TGsPEgTGVduY693jbBhiGUMHYQ== X-Received: by 2002:a17:906:d1cf:b0:8b1:7aaa:4c25 with SMTP id bs15-20020a170906d1cf00b008b17aaa4c25mr37745413ejb.29.1680525489952; Mon, 03 Apr 2023 05:38:09 -0700 (PDT) Received: from ?IPV6:2a02:810d:15c0:828:ae90:d80:1069:4805? ([2a02:810d:15c0:828:ae90:d80:1069:4805]) by smtp.gmail.com with ESMTPSA id 15-20020a170906328f00b0093e6f40d124sm4487670ejw.139.2023.04.03.05.38.09 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Apr 2023 05:38:09 -0700 (PDT) Message-ID: <2beba334-1c5e-0f68-1d32-57006b4a3321@linaro.org> Date: Mon, 3 Apr 2023 14:38:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH v2 1/2] dt-bindings: gpio: max7317: add spi gpio extender documentation Content-Language: en-US To: Edmund Berenson Cc: Lukasz Zemla , Linus Walleij , Bartosz Golaszewski , Rob Herring , Krzysztof Kozlowski , linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org References: <20230403114033.8336-1-edmund.berenson@emlix.com> From: Krzysztof Kozlowski In-Reply-To: <20230403114033.8336-1-edmund.berenson@emlix.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-1.5 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,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 On 03/04/2023 13:40, Edmund Berenson wrote: > Add driver documentation for the maxim max7317 spi > gpio expander. Subject: drop second/last, redundant "documentation". The "dt-bindings" prefix is already stating that these are bindings and documentation. > > Co-developed-by: Lukasz Zemla > Signed-off-by: Lukasz Zemla > Signed-off-by: Edmund Berenson > --- This is v2, so where is the changelog? No cover letter, either. > .../bindings/gpio/gpio-max7317.yaml | 50 +++++++++++++++++++ > 1 file changed, 50 insertions(+) > create mode 100644 Documentation/devicetree/bindings/gpio/gpio-max7317.yaml Filename must be like compatible. "gpio" is not a vendor prefix. maxim,max7317.yaml > > diff --git a/Documentation/devicetree/bindings/gpio/gpio-max7317.yaml b/Documentation/devicetree/bindings/gpio/gpio-max7317.yaml > new file mode 100644 > index 000000000000..ad5a796c704e > --- /dev/null > +++ b/Documentation/devicetree/bindings/gpio/gpio-max7317.yaml > @@ -0,0 +1,50 @@ > +# SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) > +%YAML 1.2 > +--- > +$id: http://devicetree.org/schemas/gpio/gpio-max7317.yaml# > +$schema: http://devicetree.org/meta-schemas/core.yaml# > + > +title: Maxim MAX7317 SPI-Interfaced I/O Expander > + > +maintainers: > + - Edmund Berenson > + > +description: > + Bindings for 10-Port Maxim MAX7317 SPI GPIO expanders. Describe the hardware, not the "bindings". Drop "Bindings for". > + > +properties: > + compatible: > + const: maxim,max7317 > + > + reg: > + maxItems: 1 > + > + gpio-controller: true > + > + '#gpio-cells': Use consistent quotes, either ' or ". > + const: 2 > + > +required: > + - compatible > + - reg > + - gpio-controller > + - "#gpio-cells" > + > +unevaluatedProperties: false > + > +allOf: > + - $ref: /schemas/spi/spi-peripheral-props.yaml# Fix ordering. allOf goes either before properties or before unevaluatedProps. See for example example-schema. > + > +examples: > + - | > + spi { > + #address-cells = <1>; > + #size-cells = <0>; Use 4 spaces for example indentation. > + Best regards, Krzysztof