Received: by 2002:a05:6a10:22f:0:0:0:0 with SMTP id 15csp870398pxk; Sat, 12 Sep 2020 03:09:16 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwdJxB8WktK+nbqF9uKQtcsX+0FixBbfB2fMXyx6n9CMSQUHFogl9UM0CnORG6j8Ao+zFKw X-Received: by 2002:a17:906:6b95:: with SMTP id l21mr5397732ejr.317.1599905356544; Sat, 12 Sep 2020 03:09:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1599905356; cv=none; d=google.com; s=arc-20160816; b=yeXyG938VfylD4q5thh7Ox2VohsYbhN77H0Rs0rJKs4aRnAj6yljKMnwB+ClzV5ooB v28qvLuMRYriTtWbK6Dg23BJ0wp4SCJblhv2DS7KQDwH+1HHUxBrHZXaZn9mqm9lpPES bMVyyLWPHT6q/TlGV3zQ2y4jQM4YTGSMhtXBEv8zCSDqC2Svn9wxwSDA2P2ePGSGbhRf bYbrrcYaL3zvW8rAFXNAYRNnUSBkuT1OIza4aERdMmjJIGRKcs7EM7X4WP8IF4ARN1l0 jcpb9EX6lp0rP8wzaOkrtSBmbIkNic845qT2pvFhmqsjeBefMhW7KDJLIghdPYziNXPV R+xQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=LhS5fiHNS+mf8gdgKUyRgo45ZOROmtSlUAQLqDxlfa4=; b=xckcw7202G3l3kJTrVRK0J75HekkrXD8MSATTeCMMox8cJUjBFnwCUyOnG7u6gPqUX 64BERDZ4JRuqaCQcImb3B44lFM8+fsJFe92AV1BphaLwkgxrOolOrCao6cw8GhDRjP32 F7qDwZliFTUZBsQQR9n1qWRFzD3D/n0ZtsuAtFHaBAD+Ob/tU2iE43rAQsvFzl33z0Kq SHVs7DMyNMz2oUj5eUBkukV4g9zVzh0Syund5BGbsvko96OamnP64FX1iQ5+CTaee101 OI49/miNy/vShhTpAb+CgcLcUqCGrwYYNJjPi0aiOCxoDUCu6aCqVdzWYl8Qrdvuj7W8 ucJQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m84ZT5BP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id bu26si3047675edb.135.2020.09.12.03.08.52; Sat, 12 Sep 2020 03:09:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=m84ZT5BP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S1725843AbgILKIW (ORCPT + 99 others); Sat, 12 Sep 2020 06:08:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37582 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725825AbgILKIN (ORCPT ); Sat, 12 Sep 2020 06:08:13 -0400 Received: from mail-lj1-x244.google.com (mail-lj1-x244.google.com [IPv6:2a00:1450:4864:20::244]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9638BC061786 for ; Sat, 12 Sep 2020 03:08:12 -0700 (PDT) Received: by mail-lj1-x244.google.com with SMTP id w3so14519903ljo.5 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=OYmYUqqd0upjEk+ZC4X+yZ5X0ntiB95OtQB8/uCGaYm/AG4RatWxqFJ8p6YQzSiXV0 waFVcGv3BmuClCG7qt/Fkjzilo0l/o4rkbBkB9NmPDqxM7CUxZNFoTZl6liOnrRdlNHE XNPGvAly17VaKq7KHJ3kxEuTRqJ3X/LxIBlzLSIYQh7LA9cPCTdGQv3EzkTL+hWRmH1l BgKLj8pHHPSuHsvdR/oJSuP0rF0M0y8gCzdQ10fJEwbPaSd5VBV30IM2Pj9mjVVQ5wdG q4d1Ynf+kZxo860EdsQrpqvVHDZi7OIP+ExgBFyznpbqh0R+ahZ+7/GOKNUIDWp1gaAx fBJw== X-Gm-Message-State: AOAM5311vS8lkugJ/z0YufLIEpqXbvnvW9CHdV/ZFR8glfQoMG7u47Yq oiCpW1T1dAGmYEh4MYEnTvdjcpkCFxfVsg7eX+FGAQ== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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