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 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 876A4C433F5 for ; Mon, 23 May 2022 19:07:33 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=ARxUqlxDXqZGABDFW3ZwGjyMy6oEg+Bn9U2QR9ECaQE=; b=rrYzfHBNzUtpGL xow4BnaeIJSq+Zf/CQo+CnLXMmfUGrn2qdkZS1rM1C6zL5Iq055jswRcnpdVJxrLKCdHmE5R+Zhda sfcg6qfRxXxFp7LAGERqPSRYgnnYEUUmHqDTuOnfJbdlw5ielSTGze8L7cZghl7dn8QTg316cTqmb UvPAsWu60UmqFIopLv1Onja/gu23rGC043RZ2Sr3i7hY44JFCrrjLILnHpgiT9HS6Fu3Ljm4D22kJ OQ6wxeKK9xYHYbK/6mTyNUPPRVhcmeDkFmrnNADJCZMfUOv2upM5iyMLnpJTQs8TkW3QT4F2RtZay 3RT2Kqf2CnyXau8/OJXQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntDNa-005eOC-Jj; Mon, 23 May 2022 19:06:10 +0000 Received: from mail.andi.de1.cc ([2a01:238:4321:8900:456f:ecd6:43e:202c]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1ntDNT-005eMY-PA for linux-arm-kernel@lists.infradead.org; Mon, 23 May 2022 19:06:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=kemnade.info; s=20180802; h=Content-Transfer-Encoding:Content-Type: MIME-Version:References:In-Reply-To:Message-ID:Subject:Cc:To:From:Date:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=/VahUGf3jIouTElSgvltjM8fcx6Y4GBfBctItJCCR8o=; b=PhFghKivnQDS61KDy635j7S0Ny j3o3syCqONvFNZAeGYDvsVE33SAl6yc0pW2Ui4S8fLpFh9+zSdcsFkjMc6xkj4EFp2fBPvMXeuR+Y TwcttVSLoUY20v/HHtaDDPkcSvvU6YTQjwzMtkDlrOm2RHZ2rLKBksmQ+abD1/1ZyhXE=; Received: from p200300ccff0dcc001a3da2fffebfd33a.dip0.t-ipconnect.de ([2003:cc:ff0d:cc00:1a3d:a2ff:febf:d33a] helo=aktux) by mail.andi.de1.cc with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1ntDN9-0004DT-LY; Mon, 23 May 2022 21:05:43 +0200 Date: Mon, 23 May 2022 21:05:42 +0200 From: Andreas Kemnade To: Krzysztof Kozlowski Cc: robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, arnd@arndb.de, olof@lixom.net, soc@kernel.org, shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, l.stach@pengutronix.de, alexander.stein@ew.tq-group.com, marcel.ziswiler@toradex.com, linux@rempel-privat.de, matthias.schiffer@ew.tq-group.com, cniedermaier@dh-electronics.com, sebastian.reichel@collabora.com, leoyang.li@nxp.com, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, nicolecrivain@gmail.com Subject: Re: [PATCH 2/2] ARM: dts: imx: Add devicetree for Kobo Aura 2 Message-ID: <20220523210542.0735dd5f@aktux> In-Reply-To: <402c7e38-7ad0-581f-146d-3db88e77d37c@linaro.org> References: <20220522214415.254959-1-andreas@kemnade.info> <20220522214415.254959-3-andreas@kemnade.info> <402c7e38-7ad0-581f-146d-3db88e77d37c@linaro.org> X-Mailer: Claws Mail 3.17.8 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220523_120604_019450_1A702413 X-CRM114-Status: GOOD ( 10.89 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, 23 May 2022 12:03:09 +0200 Krzysztof Kozlowski wrote: [...] > > + > > + gpio_keys: gpio-keys { > > + compatible = "gpio-keys"; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&pinctrl_gpio_keys>; > > + > > + cover { > > Generic node names. You could add suffix if needed, so either key or > key-cover. > hmm, the example in Documentation/devicetree/bindings/input/gpio-keys.yaml shows names like I did. I usually expect to trust binding documentation to have something acceptable. > > + label = "Cover"; > > + gpios = <&gpio5 12 GPIO_ACTIVE_LOW>; > > + linux,code = ; > > + linux,input-type = ; > > + wakeup-source; > > + }; > > + > > + power { > > + label = "Power"; > > + gpios = <&gpio5 8 GPIO_ACTIVE_LOW>; > > + linux,code = ; > > + wakeup-source; > > + }; > > + }; > > + > > + leds: leds { > > + compatible = "gpio-leds"; > > + pinctrl-names = "default"; > > + pinctrl-0 = <&pinctrl_led>; > > + > > + on { > > The same. You also need property for color. > here the documentation clearly indicates led-.*|led Regards, Andreas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel