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 X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 52B46C43461 for ; Sat, 12 Sep 2020 10:08:20 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 0E7F8214D8 for ; Sat, 12 Sep 2020 10:08:20 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="m84ZT5BP" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725838AbgILKIR (ORCPT ); Sat, 12 Sep 2020 06:08:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37580 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725817AbgILKIN (ORCPT ); Sat, 12 Sep 2020 06:08:13 -0400 Received: from mail-lj1-x241.google.com (mail-lj1-x241.google.com [IPv6:2a00:1450:4864:20::241]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8E84EC0613ED for ; Sat, 12 Sep 2020 03:08:12 -0700 (PDT) Received: by mail-lj1-x241.google.com with SMTP id r24so14569808ljm.3 for ; Sat, 12 Sep 2020 03:08:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=LhS5fiHNS+mf8gdgKUyRgo45ZOROmtSlUAQLqDxlfa4=; b=m84ZT5BPICoUprfBrZfjZJo2ToERzKGaIY2M6zIDJinD/VsTcZGwo12Haard8p1vhC MjZ8Hx1mOMoZusfjl0oIINyvWLew3L/D9Vjr6BiIPqengZMXdB/f0RVu1NZMRU2Q3z2V kDw7HrGgkIRJkY7ZdDYxtEtXHKR5/QKvHKBVMwnPxWhPJDa8IJD1nxJmu+ACxDeUAVRj eWLRVBXOA6MNERWuGkqiqoNBVFHwzaDGQ/HFBHpcyhLZgLwuWw0uLKa/KkF+xDYIC+Fm y512jagysE3SZE1JiPHWpTndTacUnZvwMYiNVx5FAlo6DD9u1U+4vzX3/glDN2wD5pMh pEFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=LhS5fiHNS+mf8gdgKUyRgo45ZOROmtSlUAQLqDxlfa4=; b=sBapHHgB22MwWAIlmmgWZL2zhpu/0uj0SPUnIUJJO1S+s9m9oDI3o2qop+jWzJhqW3 LTCHCyeP4ee+p3RIpLbFp4YoFM1c6+w8pQ+wlzzeG6gq8EWoGdkY65eXKLI3itt0MM1S eL0zP6uTsFJCw/f6nZM4rpT+ImL2B5OpFDfo4HCC1pIHQbfJpAvk6ddEOJgAGtQR85wK yuBu6pR2/M/V3pNrhtSLtbJp6egV+pFvoEi00FsUP2AyCaa7YJCzxDb4KNy6dWjq/RRl XzG4YYsVtY0LtgtnMm2+PNuz+BaQ42HildvW0k89KYl+DXzK4/rDaFYcHTtdE60YH4bc uOOg== X-Gm-Message-State: AOAM533p5021CWgxPqLfCfmyd3YVIkt37GKY4vwZYqg4MPb02EzD/Paw kn0p2t+3Rmrebll4z7UeZGQmcrVftZieVQwTCK88Iw== X-Google-Smtp-Source: ABdhPJztH8Y3Zl30n6XdqCSNpq33ojnWBwr/h05qXrY6CWiTumbfWA4LLSAc0k49IpbpJ+j5i9pFRwI9T1f7AE6sj0s= X-Received: by 2002:a2e:9988:: with SMTP id w8mr2308597lji.286.1599905290685; Sat, 12 Sep 2020 03:08:10 -0700 (PDT) MIME-Version: 1.0 References: <20200910175733.11046-1-krzk@kernel.org> <20200910175733.11046-2-krzk@kernel.org> In-Reply-To: From: Linus Walleij Date: Sat, 12 Sep 2020 12:07:59 +0200 Message-ID: Subject: Re: [PATCH v2 01/15] dt-bindings: gpio: convert bindings for NXP PCA953x family to dtschema To: Grygorii Strashko , Rob Herring Cc: Krzysztof Kozlowski , Joel Stanley , Bartosz Golaszewski , =?UTF-8?Q?Beno=C3=AEt_Cousson?= , Tony Lindgren , Russell King , Jason Cooper , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Andrew Jeffery , Shawn Guo , Sascha Hauer , Pengutronix Kernel Team , NXP Linux Team , Matthias Brugger , Geert Uytterhoeven , Magnus Damm , Tero Kristo , Nishanth Menon , Michal Simek , Guenter Roeck , devicetree , Linux Kernel Mailing List , Linux-OMAP , Linux ARM , linux-aspeed , "moderated list:ARM/Mediatek SoC support" , Linux-Renesas Content-Type: text/plain; charset="UTF-8" Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org On Fri, Sep 11, 2020 at 11:54 AM Grygorii Strashko wrote: > More over, there is already generic schema for gpio hogs: gpio-hog.yaml Where is this? I don't have it in my GPIO devel branch for sure, and it is not in linux-next either so not in Bartosz' tree. I did suggest that I want a gpio-common.yaml file which includes the hogs. > Originally, gpio bindings were defined without restricting gpio hog node names and, > generic schema follows this. > > I think, the generic "gpio-hogs" sub-node may be introduced to place gpio hogs child nodes, > if gpio hogs node names restriction need to be introduces (*which i'm not sure is reasonable*). > > gpio@20 { > gpio-hogs { > yyy-hog { > gpio-hog; > gpios > } > } > > But this require as gpio code as generic gpio schema update (with backward compatibility in mind). The whole problem I have with the DT bindings is that defining them is not really a Linux problem and the people maintaining it even want to move it out of the Linux kernel tree. It is supposedly the responsibility of all operating systems using device tree including but not limited to BSD and Zephyr. But there is noone picking up the responsibility outside of the Linux kernel tree except for Rob and Rob cannot do everything. With things like this it breaks apart because noone takes the overall responsibility. And as subsystem maintainer I am fully overloaded with the Linux side of things. This is of course not your or anyone else's fault. But: GPIO DT binding maintainers/writers wanted! Yours, Linus Walleij