Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp2591714imw; Wed, 6 Jul 2022 08:29:38 -0700 (PDT) X-Google-Smtp-Source: AGRyM1sy3iURPGmdRZnQfnxL3QWIX6umD4cZiIcZBUc2lNw93TYMKDjVCWMEHvkpj0UvS1tN5Nls X-Received: by 2002:a17:902:efd5:b0:16b:ef4e:d40a with SMTP id ja21-20020a170902efd500b0016bef4ed40amr11630549plb.71.1657121378531; Wed, 06 Jul 2022 08:29:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657121378; cv=none; d=google.com; s=arc-20160816; b=AymHRSQByVIDeszduNKiAr2iWhX0m01KxwuzkdZ/rImr0evDEcQBntV2rL0trbuzSf Pr1mOBs2pd6XP06GVkNijMuh7JKMZ/Go2pJBj6kdiuwya54Gr4zXhIwR72NbYrJDp0u3 kNlYyOX3LDjXerS8mUrT/boRrSl7sS3UFSkftOZh7E9i4DnWoRJN2CiVGcZFfjYlg5Sx OPAoRdyCKYh+ywg7ypwiBIKUgNLWrTtE0GkjoMRffQEBk7fxKvVFRtqSsVDFkJK0HGuq T/l898j0AuhWRL6CguLIcoRaQh/FKAd1IOEylfBw3XUj9O1CCPaHBUXoP70bh1YOCOTk 293g== 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 :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=Srpq7n+rctvAU3ldPvKbPQu3dWFCimHupmo7kusJQ6k=; b=ZsT+iE6DX5g1saTmeHxlUL2Co06KGKVPjPm4PMIg84oOgWyhnz1DvU6LvYUzrTC4Gi dFWXjxl728cw/Z3n7Iu8LZhLeg9TlXoZbQln1+1C0IKRVUp+uLozsVXhgoFFPxevYxYt fSvM7d/AlsSljfR758vAv50BNVSQ7OuUmxouItltztS4dpO6gHhMOGKxFmlE1IK+jngM eKfw7YM9gIC4QUSjrTO+5WV+t3hN35aLRow+dkw0piScawoU/TP5YLZtXtztMdjIrS5B 7CbcPIzXTQREaHBP+6pYHBYNhAJucHEDaswLRH9GhoTw+818BojXCiygvb9GcSdsaGyx uEMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kpKrtpkI; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g19-20020a63fa53000000b00411f2345f3csi21657647pgk.207.2022.07.06.08.29.25; Wed, 06 Jul 2022 08:29:38 -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=@kernel.org header.s=k20201202 header.b=kpKrtpkI; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232943AbiGFP1t (ORCPT + 99 others); Wed, 6 Jul 2022 11:27:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41222 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231500AbiGFP1s (ORCPT ); Wed, 6 Jul 2022 11:27:48 -0400 Received: from sin.source.kernel.org (sin.source.kernel.org [IPv6:2604:1380:40e1:4800::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 58A36C29; Wed, 6 Jul 2022 08:27:47 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sin.source.kernel.org (Postfix) with ESMTPS id C9DE6CE1FF3; Wed, 6 Jul 2022 15:27:45 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A993EC3411C; Wed, 6 Jul 2022 15:27:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1657121263; bh=pzDkkZF4zwiLIMVduMcEQXRah9THlaVSc9/xibzqO6w=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=kpKrtpkIIHrOr2yO/+Ok6rPw50lR92dFVr8RjKtD2T3XE+XGs/yh7qem2hvYYkmpI UYgJ4/LStRM9ZAd7ddEWAQJciintk4J0HXlmt2OFiJUKUntODyKVo+iCnkmMs3iHaO 7PAb8GuIuMeZD8q+bUQ15EhFFGxccev3QjgTqnv6eUgm5LnJ2AqbonImE2NjGvMCYt mf1x1iKNjrTz/WGwKtxfbZUy/16HBne7F6rG91NFN+mAZLy31B4rIyieH5EZweRWRA Lc65a1XiU62XXny+RW1NWHdO8gk8MZNktBpLuhv7eJDXGUZ1+xyqyvBgkXHe3x69+2 AHUtumixbliug== Date: Wed, 6 Jul 2022 17:27:32 +0200 From: Marek =?UTF-8?B?QmVow7pu?= To: Pali =?UTF-8?B?Um9ow6Fy?= Cc: Pavel Machek , Rob Herring , Krzysztof Kozlowski , linux-leds@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 1/2] [RFT] dt-bindings: leds: Add cznic,turris1x-leds.yaml binding Message-ID: <20220706172732.6228d180@thinkpad> In-Reply-To: <20220706111912.hz2mx4dc35lgq6l5@pali> References: <20220705000448.14337-1-pali@kernel.org> <20220705155929.25565-1-pali@kernel.org> <20220706131507.353f0bed@thinkpad> <20220706111912.hz2mx4dc35lgq6l5@pali> X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-7.8 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Wed, 6 Jul 2022 13:19:12 +0200 Pali Roh=C3=A1r wrote: > On Wednesday 06 July 2022 13:15:07 Marek Beh=C3=BAn wrote: > > On Tue, 5 Jul 2022 17:59:28 +0200 > > Pali Roh=C3=A1r wrote: > > =20 > > > +examples: > > > + - | > > > + #include > > > + > > > + cpld@3,0 { =20 > >=20 > > The generic node name should be just "bus". That it is a CPLD > > implementation should come from compatible string. =20 >=20 > Sorry, I do not understand why "bus". Why other memory chips are named > e.g. "nand" or "nor" and not "bus" too? As far as I understand this is because that is the preferred name for busses and this is a bus, since there is also the simple-bus compatible. > By this logic should not be _every_ node called just "bus"? Hm... and=20 > are names needed at all then? :-) The schema https://github.com/devicetree-org/dt-schema/blob/main/dtschema/schemas/si= mple-bus.yaml allows for different names (soc|axi|ahb|*-bus) to avoid warnings on existing old dts files. The preferred way is to not have the implementation in nodename, similar to how we use 'switch' instead of 'mv88e6xxx', or 'ethernet-phy' instead of 'mv88e151x', or 'led-controller', ... I wasn't there when people started requesting for this to be that way, but I guess it makes some sense to make it more readable and less redundant (the generic name in nodename and the implementation in compatible string...). Marek