Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp3101874imw; Mon, 11 Jul 2022 01:41:09 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vedVkhwgXX0nA64HJljl8ClygGxcNIe5xJ82vkmEX7zXmsGo/rTPHWlsVv/MidOpmDW5aT X-Received: by 2002:a17:902:b083:b0:16b:f145:f345 with SMTP id p3-20020a170902b08300b0016bf145f345mr17854273plr.105.1657528869257; Mon, 11 Jul 2022 01:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657528869; cv=none; d=google.com; s=arc-20160816; b=sH3YBIVliAJaV9bnA6mIv5OzJx9Fhik5bAek2WsbQ8+3ErsGdPsi9m9Uk18iYLLXPP 6lQaYcmzp/zsy6M4+/AaCgTXbhh5f/ZbroKEV5KHdhSPNPBq7GSE8oUjZxDJ7adh7C4D EN4UihYHwkOXprUW3trBV3Rc9r0IvN9ecR0P8YF8Omr+q5Fgc2e3/zdfP+b23w57ZmjB ED/+Fc3ocyHMMxH4WbzHSvjay9MUKT2+vB0J3BoyNR4/Th7FDXhMmBf2HsKcMVmVxLg/ 9t21VfLO4ybb9DoLmpGMxSnQ5rPjueAbQ+5u/swPqqv1+bVMJpbf51TXocCLbsGA81sh 2rVg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=iVyuPPd4JS7DK+cdBbaLOh3fYIbgdPf73eEb1h+UQN8=; b=fd1/+mn2fcInrGcavw3JZfsvCo5UsABTh7x7IbNCL2qLgHonX4xDV88hE5L7RptsUC FefyX1h2RjJrWiHuHQY1tO8dN5g9G/9MeLnFivuoyq1bpv6X5d81ZFNoIo1EHBddtuf1 Y04nz2AMqvnGDjV+bcLiqQezH3+Us3GQIS+DZ4DBfQgWBmqaAafWR1yAupdfO7GNEaZo EIg6gap8cH8odJspjgq4+BMECCN9lyB6tjO8pXJpShe573qiWO4j8SjFLp1aFKNLkPvT T25yM4NV+PnIXOj5pBKk75m5iq8Q9jbJf/99Lh8wrBey7RcJrhmAVGs/Q8qggZ82Irnc y3nA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=q0M52SkD; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k17-20020a056a00135100b00528f960ba52si8405773pfu.149.2022.07.11.01.40.55; Mon, 11 Jul 2022 01:41:09 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-bluetooth-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=@linaro.org header.s=google header.b=q0M52SkD; spf=pass (google.com: domain of linux-bluetooth-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-bluetooth-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 S230238AbiGKIeF (ORCPT + 99 others); Mon, 11 Jul 2022 04:34:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40370 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230300AbiGKIdl (ORCPT ); Mon, 11 Jul 2022 04:33:41 -0400 Received: from mail-yb1-xb2d.google.com (mail-yb1-xb2d.google.com [IPv6:2607:f8b0:4864:20::b2d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBCC521250 for ; Mon, 11 Jul 2022 01:33:06 -0700 (PDT) Received: by mail-yb1-xb2d.google.com with SMTP id f73so7547343yba.10 for ; Mon, 11 Jul 2022 01:33:06 -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=iVyuPPd4JS7DK+cdBbaLOh3fYIbgdPf73eEb1h+UQN8=; b=q0M52SkDM75AJrAPNvYIbmGuS6dUjHy4NCOmQjKKfinbsvVFAu2dCMY+vlur7Bo5I3 wjFz16T7LRF308SFWAkRkCpQKfgJtgABgYuE4WXVkG1pKka9/653/Zc6LhNwMVEqZEe9 2OFQD9TiXV9naJdagdAfi3UgKybWwtjsBkIZpsEzjpzhGaiHk6EwZ+fM3tu5Cl7f5lSF CCqZDBQslBOxRH++aB681UlW9vpMN/AzGonSGqjy1u9BoMHa1xXDkzjRAZrORub4O6S5 eKRdPwABF+mLy1G1XG6fdVX+zVDlYdn9lIxJyyVZV5PL63jpGuYKjiaaHZpFzRFcfTvX XqRA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=iVyuPPd4JS7DK+cdBbaLOh3fYIbgdPf73eEb1h+UQN8=; b=5cMlMtbidBN+KQMI42NZTnlCaVegJ/8wHsx0IjQlS6aIZfaLbJqxXW8ZxTUM3hHCQm j1O3Y+cEZtetW+pAI43QX8/XUvZJab0v2PeI9W5mabaEswY+J/vMZsgPM9FnbhjDgn+X Hgmsk8ARercRFPwYkiSafjGqzcgTNUq4jbdlX4pbyJn1FwHkXt7zRLjHI3f+ZQ9+40k4 TwYvthKTHHeS4B8nV9Rr9bv01WM8IU/T6FQTYkgJdAYJOBEJ8TxJCifuGRMoNSgn9sTj zr9riAeD7LahQJZG5QuzYNDgtbM0DSKfRBSwCkpOv7B7l33yMcMsuzGfJcak8yXQBW/n Adfw== X-Gm-Message-State: AJIora8gKwBzRrDwGiAvX+ypnk/ekyJjoHcw9nLzkscxfHAZckQAWKEc fzsJC7hIaoEzwiFDPlpJMenVAj8kyoCYpdx0/ra0pw== X-Received: by 2002:a25:fe04:0:b0:66e:1f8a:8e89 with SMTP id k4-20020a25fe04000000b0066e1f8a8e89mr16500920ybe.514.1657528385869; Mon, 11 Jul 2022 01:33:05 -0700 (PDT) MIME-Version: 1.0 References: <3591c206eeccdacb8b4e702494d799792b752661.1656583541.git.hakan.jansson@infineon.com> In-Reply-To: <3591c206eeccdacb8b4e702494d799792b752661.1656583541.git.hakan.jansson@infineon.com> From: Linus Walleij Date: Mon, 11 Jul 2022 10:32:54 +0200 Message-ID: Subject: Re: [PATCH v2 2/5] dt-bindings: net: broadcom-bluetooth: Add conditional constraints To: Hakan Jansson Cc: "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Rob Herring , Krzysztof Kozlowski , netdev@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, Marcel Holtmann , Johan Hedberg , Luiz Augusto von Dentz , linux-bluetooth@vger.kernel.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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-bluetooth@vger.kernel.org On Thu, Jun 30, 2022 at 2:46 PM Hakan Jansson wrote: > Add conditional constraint to make property "reset-gpios" available only > for compatible devices acually having the reset pin. > > Make property "brcm,requires-autobaud-mode" depend on property > "shutdown-gpios" as the shutdown pin is required to enter autobaud mode. > > I looked at all compatible devices and compiled the matrix below before > formulating the conditional constraint. This was a pure paper exercise and > no verification testing has been performed. > > d > e > v h > i o > c s > s e t > h - - > u w w v > t r a a v d > d e k k b d > o s e e a i > w e u u t o > n t p p - - > - - - - s s > g g g g u u > p p p p t p p > i i i i x l p p > o o o o c p l l > s s s s o o y y > --------------------------------------- > brcm,bcm20702a1 X X X X X X X X > brcm,bcm4329-bt X X X X X X X X > brcm,bcm4330-bt X X X X X X X X > brcm,bcm4334-bt X - X X X X X X > brcm,bcm43438-bt X - X X X X X X > brcm,bcm4345c5 X - X X X X X X > brcm,bcm43540-bt X - X X X X X X > brcm,bcm4335a0 X - X X X X X X > brcm,bcm4349-bt X - X X X X X X > infineon,cyw55572-bt X - X X X X X X > > Signed-off-by: Hakan Jansson A job well done! Reviewed-by: Linus Walleij Yours, Linus Walleij