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 D7C83CAC589 for ; Tue, 9 Sep 2025 06:50:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:Content-Transfer-Encoding: Content-Type:In-Reply-To:From:References:Cc:To:Subject:MIME-Version:Date: Message-ID:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=M/VFSbxaoCdLjJSeyTwHsH+gRgpx/aAWpUtZlGe7uGk=; b=YcfKwrJmv3Tj5yXY2DBI8NfoTG JS5wrPXwNLZRroyjgac3oZ2iZTdcbbo4w34q/YzUF1rIHPYSlgJRcCjU3vDI7A5o9rqxIdUTiTczp Y8r+tQqYfMtle0sv+3pvyZi1+Po9pHIOMIMPVcfFWRZt5av51GOoqvZ1KXUz3es/7hZtfGad6W3qH qoxQnQ6qcliPq4dCUVzKSVR5SnixTY32emWHjaJNeSLDSKhyO5sXIp9AN9xvrnGVpjNVjNo0YRnwy Shu7vcWwTN+O7CLr61cFYXr+Xdl83rH/IoBMmmtoRt7jvW4Cb6v/vXLlO6hgAP1h/A271AyetW58r uK9NjTjQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98.2 #2 (Red Hat Linux)) id 1uvsBZ-00000004olq-3KZ3; Tue, 09 Sep 2025 06:50:37 +0000 Received: from sender4-pp-f112.zoho.com ([136.143.188.112]) by bombadil.infradead.org with esmtps (Exim 4.98.2 #2 (Red Hat Linux)) id 1uvhxs-000000021p4-0tm7; Mon, 08 Sep 2025 19:55:49 +0000 ARC-Seal: i=1; a=rsa-sha256; t=1757361303; cv=none; d=zohomail.com; s=zohoarc; b=mUzmnkI7ls4AvpKk9PkLBBYeCu+pH9kCHwMoKRU9mS8Va3Rk3P1EnjIukFHIQ1sAgt4nQPlbPOXlK83kFmYc2xVS75KjHCPk94ELyPusE++ff8czzuFzys66QYc4l6TbNekfLo+fBNe1sVSwmyurSAX0CZXICiNB/U581LhcNrU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1757361303; h=Content-Type:Content-Transfer-Encoding:Cc:Cc:Date:Date:From:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:Subject:To:To:Message-Id:Reply-To; bh=M/VFSbxaoCdLjJSeyTwHsH+gRgpx/aAWpUtZlGe7uGk=; b=BaZlsaht09RzyFGIw897Zk6xphgJqy43DTSQKT9TkRm0X5MkO3meBCJ4cTbsHdUbbD2SEdI/5kc03gzpBrHIl+mADS6abfJXQtNg+5HPGSQoyur59mlSQ7Ia3ZhxJAtvYUVT99Q1iWwbwHsF4hvHTz/xFr1r9Snnsvu9tXKFPY0= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=collabora.com; spf=pass smtp.mailfrom=ariel.dalessandro@collabora.com; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1757361303; s=zohomail; d=collabora.com; i=ariel.dalessandro@collabora.com; h=Message-ID:Date:Date:MIME-Version:Subject:Subject:To:To:Cc:Cc:References:From:From:In-Reply-To:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=M/VFSbxaoCdLjJSeyTwHsH+gRgpx/aAWpUtZlGe7uGk=; b=WuspcEjlUBylmJh1B0BghZqg5B6vUEjxtdYtMYSmMk6RsbTPP0bLHXw0NlWAcceJ xsO8L1flgUuEeUGRtXTkjsV0T9f76hnyQvEhLCzhzUA5H4Yt1V6Miux3sq5qAOgM9B+ 4LA1qn9GmOhsgJZge5/qJBesfNjPEAzNODbFUE/w= Received: by mx.zohomail.com with SMTPS id 1757361302113105.67245372545813; Mon, 8 Sep 2025 12:55:02 -0700 (PDT) Message-ID: <0b1d77ab-7b39-4764-9f0c-4b4a15aa0e56@collabora.com> Date: Mon, 8 Sep 2025 16:54:46 -0300 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v1 04/14] net: dt-bindings: Convert Marvell 8897/8997 bindings to YAML To: Rob Herring Cc: airlied@gmail.com, amergnat@baylibre.com, andrew+netdev@lunn.ch, andrew-ct.chen@mediatek.com, angelogioacchino.delregno@collabora.com, broonie@kernel.org, chunkuang.hu@kernel.org, ck.hu@mediatek.com, conor+dt@kernel.org, davem@davemloft.net, dmitry.torokhov@gmail.com, edumazet@google.com, flora.fu@mediatek.com, houlong.wei@mediatek.com, jeesw@melfas.com, jmassot@collabora.com, kernel@collabora.com, krzk+dt@kernel.org, kuba@kernel.org, kyrie.wu@mediatek.corp-partner.google.com, lgirdwood@gmail.com, linus.walleij@linaro.org, louisalexis.eyraud@collabora.com, maarten.lankhorst@linux.intel.com, matthias.bgg@gmail.com, mchehab@kernel.org, minghsiu.tsai@mediatek.com, mripard@kernel.org, p.zabel@pengutronix.de, pabeni@redhat.com, sean.wang@kernel.org, simona@ffwll.ch, support.opensource@diasemi.com, tiffany.lin@mediatek.com, tzimmermann@suse.de, yunfei.dong@mediatek.com, devicetree@vger.kernel.org, dri-devel@lists.freedesktop.org, linux-arm-kernel@lists.infradead.org, linux-clk@vger.kernel.org, linux-gpio@vger.kernel.org, linux-input@vger.kernel.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-sound@vger.kernel.org, netdev@vger.kernel.org References: <20250820171302.324142-1-ariel.dalessandro@collabora.com> <20250820171302.324142-5-ariel.dalessandro@collabora.com> Content-Language: en-US From: Ariel D'Alessandro In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ZohoMailClient: External X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20250908_125548_304196_D8019905 X-CRM114-Status: GOOD ( 21.36 ) 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: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Rob, On 8/21/25 11:28 AM, Rob Herring wrote: > On Wed, Aug 20, 2025 at 12:15 PM Ariel D'Alessandro > wrote: >> >> Convert the existing text-based DT bindings for Marvell 8897/8997 >> (sd8897/sd8997) bluetooth devices controller to a YAML schema. >> >> While here, bindings for "usb1286,204e" (USB interface) are dropped from >> the YAML definition as these are currently documented in file: >> >> - Documentation/devicetree/bindings/net/btusb.txt >> >> Signed-off-by: Ariel D'Alessandro >> --- >> .../bindings/net/marvell,sd8897-bt.yaml | 91 +++++++++++++++++++ > > This needs to move to net/bluetooth/ Ack. > >> .../bindings/net/marvell-bt-8xxx.txt | 83 ----------------- >> 2 files changed, 91 insertions(+), 83 deletions(-) >> create mode 100644 Documentation/devicetree/bindings/net/marvell,sd8897-bt.yaml >> delete mode 100644 Documentation/devicetree/bindings/net/marvell-bt-8xxx.txt >> >> diff --git a/Documentation/devicetree/bindings/net/marvell,sd8897-bt.yaml b/Documentation/devicetree/bindings/net/marvell,sd8897-bt.yaml >> new file mode 100644 >> index 0000000000000..6539868c08b8a >> --- /dev/null >> +++ b/Documentation/devicetree/bindings/net/marvell,sd8897-bt.yaml >> @@ -0,0 +1,91 @@ >> +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) >> +%YAML 1.2 >> +--- >> +$id: http://devicetree.org/schemas/net/marvell,sd8897-bt.yaml# >> +$schema: http://devicetree.org/meta-schemas/core.yaml# >> + >> +title: Marvell 8897/8997 (sd8897/sd8997) bluetooth devices (SDIO) >> + >> +maintainers: >> + - Ariel D'Alessandro >> + > > Needs a $ref to bluetooth-controller.yaml Ack. > >> +properties: >> + compatible: >> + enum: >> + - marvell,sd8897-bt >> + - marvell,sd8997-bt >> + >> + reg: >> + maxItems: 1 >> + >> + interrupts: >> + maxItems: 1 >> + >> + marvell,cal-data: >> + $ref: /schemas/types.yaml#/definitions/uint8-array >> + description: >> + Calibration data downloaded to the device during initialization. >> + minItems: 28 > > Just: maxItems: 28 Ack. > >> + >> + marvell,wakeup-pin: >> + $ref: /schemas/types.yaml#/definitions/uint16 >> + description: >> + Wakeup pin number of the bluetooth chip. Used by firmware to wakeup host >> + system. >> + >> + marvell,wakeup-gap-ms: > > This unfortunately needs a uint16 type. That will cause a warning > which has to be fixed on the dtschema side. Yeah, that's what I thought but wasn't sure on the proper solution. Will fix in v2. > >> + description: >> + Wakeup latency of the host platform. Required by the chip sleep feature. >> + >> +required: >> + - compatible >> + - reg >> + - interrupts >> + >> +additionalProperties: false >> + >> +examples: >> + - | >> + #include >> + #include > > Please drop this and just use a number below. Ack. > >> + >> + sdio0 { >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + btmrvl: btmrvl@2 { >> + compatible = "marvell,sd8897-bt"; >> + reg = <2>; >> + interrupt-parent = <&gpio4>; >> + interrupts = ; >> + marvell,wakeup-pin = /bits/ 16 <13>; >> + pinctrl-names = "default"; >> + pinctrl-0 = <&bt_host_wake_l>; >> + }; >> + }; > > I would drop this example. Agreed. > >> + >> + mmc3 { > > mmc { Ack. > >> + vmmc-supply = <&wlan_en_reg>; >> + bus-width = <4>; >> + cap-power-off-card; >> + keep-power-in-suspend; >> + >> + #address-cells = <1>; >> + #size-cells = <0>; >> + >> + bluetooth: bluetooth@2 { > > Drop the label. Ack. Thanks a lot for your feedback and help! Regards, -- Ariel D'Alessandro Software Engineer Collabora Ltd. Platinum Building, St John's Innovation Park, Cambridge CB4 0DS, UK Registered in England & Wales, no. 5513718