Received: by 2002:a05:7412:1e0b:b0:fc:a2b0:25d7 with SMTP id kr11csp736677rdb; Thu, 15 Feb 2024 14:01:25 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCWn0SbeAIn6QZVz5uDJLnwcGfFawT6+iuifhXQR7Tlw6g4XTLwsR67+R7z8IrlXt+G3iCe9hsLakMEOshbY+3uAYPY33OBnFXgRw0rofg== X-Google-Smtp-Source: AGHT+IGxDBnhhWETbI1gG8xP0tRhCJ/MJJANllN+gTbjSxV6ag2ROAkCtYEZBPdOT+VpRhisus+8 X-Received: by 2002:a05:6830:1445:b0:6e2:d9d2:9106 with SMTP id w5-20020a056830144500b006e2d9d29106mr3315658otp.6.1708034485244; Thu, 15 Feb 2024 14:01:25 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708034485; cv=pass; d=google.com; s=arc-20160816; b=I95/fsHsJ4Ma6tOX2ZFnOm1i/vQZydN446c8WWpBsu2zeajIBwu6NO+dtFxhvaLLJO F6o25YvG7dsmseS/3XuuNpLSMZwwQPvp6G6jTcfvWzbVf3E/w5VkJRW44z11Cb27Rd8/ s+l+seJ3nSLKpovKoBFpx7/RLIZgN6OvSNmEjZuRBHl4L5yWylRzu+Dosqi4YWX7BQHp BsnVtfzIEPn5OPdmpVrQE0dckrGWYMzNKYnp/kzwFIeHh77Z4DoOFTRJMDUGRQHjcLVM 6ovrWEmKPLY2uj5zswdIHGOjBlWh+a62B3JvbLNE9h/yZRGnUK+zM9pJCWCd1NNs7L9a d+/Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=zMw8ym7Hes5nA0a7OJqANqfyz//pYIxa/w4OlCDzeSo=; fh=zTFYtznoS/qupvvLOJD3C4KPr5T7MGqdp6DlboAC+Oc=; b=GBsMQvnyWR6c1JGc05pnl6GGBnoVm5OxCSGucZxAV9i8xK3lZtJGf1ZIFw2zjgBVbn B1DfSe6a8tekoK+at5H/kLJ8MknesF0E0zdrDEJw8bXdwt2CYUkS8zZQSixZuEodI48m G9JS42uINIcd6AtGKyeADJLFKykerykjuNEZB/O63MHjxLrx/D5rdtafEeHFXPwIf8n5 BGo/toottdi4ipTCf6PeKxdRJUPQvqKrBwDSq80ekL38sfEuMsRSHTWVXTduJO7H09qz xPs/NVerskNQQ0CPub+SyTKZNhCMRRsWn9H1Oww+p2rZ419ncyjQyUr3ztn6sZm+gm1G pVgA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GW94aQAm; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-67729-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id o16-20020ac85550000000b0042c4d1e2a60si2205569qtr.286.2024.02.15.14.01.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 15 Feb 2024 14:01:25 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-67729-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=GW94aQAm; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-67729-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-67729-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id E9E511C212C2 for ; Thu, 15 Feb 2024 22:01:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C91071420D1; Thu, 15 Feb 2024 22:01:14 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="GW94aQAm" Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 7719013DB92; Thu, 15 Feb 2024 22:01:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.216.42 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708034473; cv=none; b=Q6AwkAsu8wmZ1ionzg8C2dnZbssV0C05f/CBU7lxTEuI4GiZcb+jR0lFLeTcd1H9cdNw7lceDkQ/8s3wZOGCYeh8hL8ure6HVNALVVmIaDyUZmpdVAA0qRzPmO9J2JDMwUHpTuRlV3UJs03hOUCVseAD1W3LDUMvvYlIjbzKQnI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708034473; c=relaxed/simple; bh=r+fF7hspTcauMVJ6ENMToSqRGVf6qDI5uFjl4h27hAM=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=ZlNVU/QdeSJRCul54X1ZyO6xtCUfMrqfkKv2TGq9QAAufeTIu8gwUoGdlzquzhJfwcj/ipb0XTEsV2bZ0DPDskMbohzYrhx4Lm6kWaML3OOhFdZwdgvmjehQjcClAyjbEIXdQPmMcMZ08bzy/2w4QiIVsizsHmk2W09Kz1d6Gdw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=GW94aQAm; arc=none smtp.client-ip=209.85.216.42 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pj1-f42.google.com with SMTP id 98e67ed59e1d1-296cca9169bso1173304a91.3; Thu, 15 Feb 2024 14:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1708034472; x=1708639272; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=zMw8ym7Hes5nA0a7OJqANqfyz//pYIxa/w4OlCDzeSo=; b=GW94aQAmzsoSd5vlP3RBwLdJgdtzvLK2Vca4Du4/QJ7+MOxbPM+DhVSrGHuL1spbdt MjqSR8651mH4zaZIRdQ1OA7cdpRWKab3aX21Hz4gm9UmOiQIGxj7TPD785h575Zgzd2k LfpXKKaVEkzDb2PjIj8qOQW2Chz4VutITKUPXr+u1sGXpsQB/6uRimYKgiH7VnT4En+8 7+AKEBfQKYLX5OFnz0i9iJtQsKPAbun25DOzKTE/7HVBKqh1OMA/xYJ1HaUh7DIknE0g 5658XqlMSNcaQH3pTKZFSvelbLsqspthoBObMIv4skuOOSslWoYc294AwLdRok4CqtIw 8zoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1708034472; x=1708639272; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=zMw8ym7Hes5nA0a7OJqANqfyz//pYIxa/w4OlCDzeSo=; b=a9pArIS5WsnjXDdgGzTPSSzsKGYDKExRBIQeKt7pwLZDI1CmSjCahdg3TjrpjbIf8p KYnJSQANmAlt00fKpJOBK3KaW1iBb7OChmg/diKVTfeV21lLEWdXAwbdkCxRJy+9nUZF R2JNDikOqTHBSz0rLErvm9wXJtHF5yxdh4J0GsmL9ETxysOhEd0gjBFZ7WuEdtEkTP5y ySWZKdVPCV8mOEymb5SAIXeHSB5UGAlbavv15dHjBpifJ2rc9XUk43Vi7ehBKtaqh4+Z +FY65Rz1gE0ARyvp7vnbReGiNa1zU2Y76qhOE7xDSYfEou15WDfj7jhJFxALmWvCTdrz 7s1Q== X-Forwarded-Encrypted: i=1; AJvYcCWuDpdoS/mNA1/457CpH8QJK/m3YVluaZ3m2MjyLR74M3eX/jnUDPmpnwSnOtwniMvztxf8J0qYYO5aJUk2/0Xh9NV5HwwEkyTP1hOrVuRXHoTfQykoToX7DWU4hp4zs11o66s9KmeE+TlMurX00zJzBRnz8fVpXwkFnoAytkLVt/xhQg== X-Gm-Message-State: AOJu0Yz7Q3HMYChJHh76XwuSfYZYlpsivoiHlIwlu/c8R4vJ/6QV0HMJ ppu6y6QVs2aI8/ZWdWoM6HlWCb6MHkoYzymTxd8RMm0o7KTbdiZ05TIJyKGr/lQL1+7AF1bnlRz ew/PHgpdJi1rKi48guNtfAbGM2w== X-Received: by 2002:a17:90a:c08f:b0:299:21ef:6b5a with SMTP id o15-20020a17090ac08f00b0029921ef6b5amr1710226pjs.24.1708034471706; Thu, 15 Feb 2024 14:01:11 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240207224546.44030-1-frut3k7@gmail.com> <20240207224546.44030-2-frut3k7@gmail.com> In-Reply-To: From: frut3k7 Date: Thu, 15 Feb 2024 23:01:00 +0100 Message-ID: Subject: Re: [PATCH v2 2/2] dt-bindings: trivial-devices: Add qca,qca4024 To: Krzysztof Kozlowski Cc: Rob Herring , Robert Marko , Krzysztof Kozlowski , Conor Dooley , Mark Brown , Guenter Roeck , Peter Yin , Patrick Rudolph , Michal Simek , Marek Vasut , Luca Ceresoli , Bjorn Helgaas , Lukas Wunner , Fabio Estevam , Alexander Stein , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-spi@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable The device I use has the QCA4024 chip connected via the spi controller: blsp1_spi4: spi@78b8000 { compatible =3D "qcom,spi-qup-v2.2.1"; #address-cells =3D <1>; #size-cells =3D <0>; reg =3D <0x78b8000 0x600>; interrupts =3D ; clocks =3D <&gcc GCC_BLSP1_QUP4_SPI_APPS_CLK>, <&gcc GCC_BLSP1_AHB_CLK>; clock-names =3D "core", "iface"; dmas =3D <&blsp_dma 18>, <&blsp_dma 19>; dma-names =3D "tx", "rx"; status =3D "disabled"; }; and apart from setting the frequency and gpio there is nothing else: &blsp1_spi4 { status =3D "okay"; pinctrl-0 =3D <&spi_3_pins &quartz_pins>; pinctrl-names =3D "default"; /* Qualcomm QCA4024 IoT */ iot@3 { compatible =3D "qca,qca4024"; reg =3D <0>; spi-max-frequency =3D <24000000>; }; }; &tlmm { spi_3_pins: spi-3-state { spi-pins { pins =3D "gpio50", "gpio52", "gpio53"; function =3D "blsp3_spi"; drive-strength =3D <8>; bias-disable; }; cs-pins { pins =3D "gpio22"; function =3D "blsp3_spi2"; drive-strength =3D <8>; bias-disable; }; }; quartz_pins: quartz-state { interrupt-pins { pins =3D "gpio48"; function =3D "gpio"; bias-disable; input; }; reset-pins { pins =3D "gpio21"; function =3D "gpio"; bias-disable; output-high; }; }; }; On Thu, Feb 8, 2024 at 8:32=E2=80=AFAM Krzysztof Kozlowski wrote: > > On 07/02/2024 23:45, Pawe=C5=82 Owoc wrote: > > Add Qualcomm QCA4024 to trivial devices. > > > > Signed-off-by: Pawe=C5=82 Owoc > > --- > > Documentation/devicetree/bindings/trivial-devices.yaml | 2 ++ > > 1 file changed, 2 insertions(+) > > > > diff --git a/Documentation/devicetree/bindings/trivial-devices.yaml b/D= ocumentation/devicetree/bindings/trivial-devices.yaml > > index 79dcd92c4a43..c6362e981920 100644 > > --- a/Documentation/devicetree/bindings/trivial-devices.yaml > > +++ b/Documentation/devicetree/bindings/trivial-devices.yaml > > @@ -309,6 +309,8 @@ properties: > > - plx,pex8648 > > # Pulsedlight LIDAR range-finding sensor > > - pulsedlight,lidar-lite-v2 > > + # Qualcomm QCA4024 Multi-mode Bluetooth and 802.15.4 SoC > > + - qca,qca4024 > > > As I wrote, Bluetooth chip is not a trivial device. This one > particular exposes several interfaces to the host, needs a clock and > power supply. > > Best regards, > Krzysztof >