From patchwork Wed Jun 7 09:08:20 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ulf Hansson X-Patchwork-Id: 103221 Delivered-To: patches@linaro.org Received: by 10.140.91.77 with SMTP id y71csp1831902qgd; Wed, 7 Jun 2017 02:08:42 -0700 (PDT) X-Received: by 10.25.196.142 with SMTP id u136mr2817737lff.81.1496826522757; Wed, 07 Jun 2017 02:08:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1496826522; cv=none; d=google.com; s=arc-20160816; b=At6Tyf+JU+hjv2IqEPL5NuoAAlu/NxTlY8unF3O4He0yGUxaXuipkQT8gpeXAjjUOH 0e/aFl9cxiiJdz1kJNuy7PsWumLUaa52brSxSQRB6O6ePMoKVdKpoXYuVEZh4JcK2KR/ 8T98YAgtRfg1VFvvLzqJbaDGme43DkLuYUxg7QuQ8tq5MBBWS9VE5EcwtnRwwzAMsKC7 jfyO7fSgBBwiV4BRY2CC8pIIvt/hF2cmYdzL00T2L4e+Xsh8qN85y1KXSGdtxlLnd1g9 ygILbMSMboPPSDTU/52VMcv25NbdFYr7zDNaVXGK+bgFvr6owKQcNE68JGOQYhTbZK/m yuYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=12QqwA9HzysarlrKtUi/7nKYkXBx1B9XpZTZUOxgZyE=; b=nOVjR6ZmK9vCLs8hBn/MKYdkU1DnrCx6G3fGBI4P1552nB2HsTiqP0iocPFhTo6VSa Qb7rsQSUKMcer6W/UKEVh6m3PA2ucHkYwO6Mj86S/izcQg5ja99958V4lNMf/DKTKNUm u9NsOPwERog6HXnUdWNhqeBcYwa5qXTLAJ5l3v60R+RoQ4S4A9SKC81XU2LTOh8fUrLq n/eTT3rSY7JLe23okE+TL9HbdWPLUwqZ+/TTvqkagHAyRFxAjYhVj0Z56U2Q1HVPKpEH WNQBvJ3VLqzCE0NtyiDd6RWEDP59Gi13R4LuWtr684fekZDvWbOPrMK9hFHNQOjnaNiy 56IA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::231 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from mail-lf0-x231.google.com (mail-lf0-x231.google.com. [2a00:1450:4010:c07::231]) by mx.google.com with ESMTPS id z9si680219lja.242.2017.06.07.02.08.42 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Jun 2017 02:08:42 -0700 (PDT) Received-SPF: pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::231 as permitted sender) client-ip=2a00:1450:4010:c07::231; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org; spf=pass (google.com: domain of ulf.hansson@linaro.org designates 2a00:1450:4010:c07::231 as permitted sender) smtp.mailfrom=ulf.hansson@linaro.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: by mail-lf0-x231.google.com with SMTP id p189so3035194lfe.2 for ; Wed, 07 Jun 2017 02:08:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=12QqwA9HzysarlrKtUi/7nKYkXBx1B9XpZTZUOxgZyE=; b=NmOduDpIy2CYYWXWcxNakmg1qUhIt3AEy6cOCO1QW2jUfH2fEelKAj+kUR81PCv2pX mi/Pkn3mx1l0HrhWJExz8izbakFfbiUeVM1a4b2l7+DGiFe59/BQrhHDSDOHM2FIqiG0 sVtQZ6pUqt8tasEsXQxbGgFKLjQJcNMOQOfy8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=12QqwA9HzysarlrKtUi/7nKYkXBx1B9XpZTZUOxgZyE=; b=Kz9KvoFV2a705NPlgPkhimVdOEyOaTwUjeeBW+B0ZpMJZNQMkPU33pecjTkfZKViHy wexpTF37SveQ8FC9E/J74lhzW4tiW03MSLyV3xAbt3rK1nZMOeEAYW1h4L8vAWSkYhFq vMdc2oDWYqvOLGy5HXusHZD+s7ZvWMD13TYV+HbMJV/Y/OhLuUkpG+LgtqX3N8LM3p8r eBjBKDGNzx3gapTvUGfrtFplElWTS+/mb/8Df/GkkkbFK00KiWX5+Yg4ctS63LkQWpJg jWxO/g0BQERi3aW4loau0JTAet/R7Zc8/LDXv20af4AdAmRYr0v7z1FFhdH34nRS8uqs dVXw== X-Gm-Message-State: AODbwcAgrS/fwvbrm06hU5fGdWxOBG9HN7eZyI7N3b8j6Y+WY3E10q4Z 2LhDCpeCIJ2fIc7a8gw= X-Received: by 10.46.5.82 with SMTP id 79mr6796426ljf.3.1496826518273; Wed, 07 Jun 2017 02:08:38 -0700 (PDT) Return-Path: Received: from localhost.localdomain (h-158-174-22-67.NA.cust.bahnhof.se. [158.174.22.67]) by smtp.gmail.com with ESMTPSA id e36sm226271lji.49.2017.06.07.02.08.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 07 Jun 2017 02:08:37 -0700 (PDT) From: Ulf Hansson To: Marcel Holtmann , Gustavo Padovan , Johan Hedberg , linux-bluetooth@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, Daniel Lezcano , Wei Xu , Rob Herring , John Stultz , Satish Patel , Arnd Bergmann , Olof Johansson , Ulf Hansson Subject: [PATCH 1/3] dt-bindings: net: Add binding for the external clock for TI WiLink Date: Wed, 7 Jun 2017 11:08:20 +0200 Message-Id: <1496826502-1339-2-git-send-email-ulf.hansson@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1496826502-1339-1-git-send-email-ulf.hansson@linaro.org> References: <1496826502-1339-1-git-send-email-ulf.hansson@linaro.org> The external clock is provided to the TI WiLink combo chip and it's needed for any of the transport interfaces. However let's make it optional to avoid breaking existing platforms that yet doesn't specify the clock. Fixes: ea452678734e ("arm64: dts: hikey: Fix WiFi support") Signed-off-by: Ulf Hansson --- Documentation/devicetree/bindings/net/ti,wilink-st.txt | 6 ++++++ 1 file changed, 6 insertions(+) -- 2.7.4 diff --git a/Documentation/devicetree/bindings/net/ti,wilink-st.txt b/Documentation/devicetree/bindings/net/ti,wilink-st.txt index cbad73a..3404a4a 100644 --- a/Documentation/devicetree/bindings/net/ti,wilink-st.txt +++ b/Documentation/devicetree/bindings/net/ti,wilink-st.txt @@ -22,6 +22,10 @@ Optional properties: - enable-gpios : GPIO signal controlling enabling of BT. Active high. - vio-supply : Vio input supply (1.8V) - vbat-supply : Vbat input supply (2.9-4.8V) + - clocks : Must contain an entry, for each entry in clock-names. + See ../clocks/clock-bindings.txt for details. + - clock-names : Must include the following entry: + "ext_clock" (External clock provided to the TI combo chip). Example: @@ -31,5 +35,7 @@ Example: bluetooth { compatible = "ti,wl1835-st"; enable-gpios = <&gpio1 7 GPIO_ACTIVE_HIGH>; + clocks = <&clk32k_wl18xx>; + clock-names = "ext_clock"; }; };