From patchwork Wed Jan 13 16:00:52 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Dmitry Baryshkov X-Patchwork-Id: 362156 Delivered-To: patch@linaro.org Received: by 2002:a17:906:fb05:0:0:0:0 with SMTP id lz5csp498980ejb; Wed, 13 Jan 2021 08:02:57 -0800 (PST) X-Google-Smtp-Source: ABdhPJw9oNQF6UPW+/K9UzDubRNEW0JPRe6/o4vPD1Rm3P4hw2scPemtrFvN8AQ4DlkquNj2o4Rv X-Received: by 2002:a17:906:ece4:: with SMTP id qt4mr1935202ejb.311.1610553777850; Wed, 13 Jan 2021 08:02:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610553777; cv=none; d=google.com; s=arc-20160816; b=o4vpe8/8GL6D2+wODzHAqlOkwTWjWqyORB3Pu3bXwPz7XWSCRlRjLuQ1ft0Q9ptEFN w20yvhJw9QmXWTtjbLAgOMSaFbb9gotuOz4XdvYmzPy5QT2BJBFGew6M/31zy+qfDmry sUKiva0QGmky5sDvLpuRXjACQ9YvzM9v6ANfXKTfFjJPVGvKL/jQBIMcriikIZ5jvBuE RskRi5JXjQYsSU4Y4KMsoCJnBQENHChOovTgSfr7/ndUP9a2JbkjWjuA34Hab7S7qyRc JSZlHqXxvEtb9YmY/K9wYZlGjPvTt1zmIN5zckqJySwd1BpnBF80OaAU6exHDgW6sZDI /xKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=7tp+yIknuWY62Mm5kLJz89RJjtUuXNij6I82RhlunuQ=; b=xGlvy7yVkOev+TpeihH9Ss0DdwsLjpVfH/VVw2bkbKjkQZGz2dnIooWmrbL5JtoDVP xcK7LQtxAcPODoEzUzNAW1NkLRqqFHctT80VVlFSh5NS+6n2///rFPNHCPBY1BASA02w HtZqv7Kb53brk0W8gC1NHgW02fe/4HOkfEw5wio9gHriRwKhBf6izWvzH/B7i/AMfQVi 4GqmBmCz+2kCN4btCsIGDVfJArnR/vZe/E0oGGoKmyYJzkcoRHJ0Htq5eryr97SNFkbz uqOhJr8MmhmpiTUzarpcZX0MztsEnder+GXQnZMbNCASV/LSqWHUvs+wFpKKiaXZd+or POPw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sOD7qIhi; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v4si1373923edi.191.2021.01.13.08.02.57; Wed, 13 Jan 2021 08:02:57 -0800 (PST) Received-SPF: pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=sOD7qIhi; spf=pass (google.com: domain of devicetree-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=devicetree-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 S1727251AbhAMQBl (ORCPT + 6 others); Wed, 13 Jan 2021 11:01:41 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56810 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727244AbhAMQBk (ORCPT ); Wed, 13 Jan 2021 11:01:40 -0500 Received: from mail-lj1-x22a.google.com (mail-lj1-x22a.google.com [IPv6:2a00:1450:4864:20::22a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6B27DC061795 for ; Wed, 13 Jan 2021 08:01:00 -0800 (PST) Received: by mail-lj1-x22a.google.com with SMTP id u21so3158267lja.0 for ; Wed, 13 Jan 2021 08:01:00 -0800 (PST) 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 :mime-version:content-transfer-encoding; bh=7tp+yIknuWY62Mm5kLJz89RJjtUuXNij6I82RhlunuQ=; b=sOD7qIhiA3NT2BuJw3KxbLqVE1mlgVsVUznc6NKranIoJzlZUaWuMN88sj7504tZyv Ta3OmN3tYjKFYR9P1QU4bogwbdYMRjDfAQZ2r+tlci3DNEunmkMbyMVwgSMoaxRxSH3T UInLgdLC/QQ88vUk5RsjvcUdPBlDQx4LvqBsf+M+O28Vj1LVhL5/mMznca4toF/oXgJd 3ts0bq68RVnEZsClGM2Ci+pQKW631bkXMovie7RjaCtrUAxayTKqLKg9V6DOqy/s2dKr nJUNTr2GKEiASenvbmbAz+6OiF0vu7PEayiQhUWaEtOhKAnsmfqfYhFUzQteUdD2/nmZ DEOQ== 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:mime-version:content-transfer-encoding; bh=7tp+yIknuWY62Mm5kLJz89RJjtUuXNij6I82RhlunuQ=; b=T0p+2oqc+uDFiToKe/szITgoWIaA09A69MqS8oob+gEK776PsEfvFcUYHSenr3EvMB u1a1R2eHUznh2KLBQGeyEl3mZDIt7bcEkCwxppIxwHjmfyn7cHM465GGHQzpVxxYEq66 X7H6YXhKwHBuwV31otfokWrnccR/AjAK11W0+5LB6lusOLXgwmYvwBOSaRNCT/PqQ416 NLyiY4CCfEJJMFgaEOFQ1kA0bspElqrMyo64LOGcPwtHlB9iy47pm9siPoAzzV4jfgLl y7L/8NRR6wZDdRwPUpzqFAZxHj0wHP+EJrkpT3VsKvxTWcVNwlhrr+ZNN8wyMU8BSjMb SIuQ== X-Gm-Message-State: AOAM5321BlqmbLX4wcqjIfkIb+ByZRTCpQ+XszZweXlSF9N1D0cm1Izp gc5Ce/x7lwhGrMF/r+nytxnKGA== X-Received: by 2002:a05:651c:11c4:: with SMTP id z4mr1253519ljo.443.1610553658857; Wed, 13 Jan 2021 08:00:58 -0800 (PST) Received: from eriador.lumag.spb.ru ([94.25.228.189]) by smtp.gmail.com with ESMTPSA id m25sm248559lfb.144.2021.01.13.08.00.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Jan 2021 08:00:58 -0800 (PST) From: Dmitry Baryshkov To: Andy Gross , Bjorn Andersson , Rob Herring , Arnd Bergmann , Greg Kroah-Hartman Cc: linux-arm-msm@vger.kernel.org, Manivannan Sadhasivam , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH v2 1/2] dt-bindings: misc: qcom, qca6390: add binding for QCA6390 device Date: Wed, 13 Jan 2021 19:00:52 +0300 Message-Id: <20210113160053.3974229-2-dmitry.baryshkov@linaro.org> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210113160053.3974229-1-dmitry.baryshkov@linaro.org> References: <20210113160053.3974229-1-dmitry.baryshkov@linaro.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org Qualcomm QCA6390/1 is a family of WiFi + Bluetooth SoCs, with BT part being controlled through the UART and WiFi being present on PCIe bus. Both blocks share common power sources. Add binding to describe power sequencing required to power up this device. Signed-off-by: Dmitry Baryshkov --- .../bindings/misc/qcom,qca6390.yaml | 84 +++++++++++++++++++ 1 file changed, 84 insertions(+) create mode 100644 Documentation/devicetree/bindings/misc/qcom,qca6390.yaml -- 2.29.2 diff --git a/Documentation/devicetree/bindings/misc/qcom,qca6390.yaml b/Documentation/devicetree/bindings/misc/qcom,qca6390.yaml new file mode 100644 index 000000000000..bb507eb6e0a3 --- /dev/null +++ b/Documentation/devicetree/bindings/misc/qcom,qca6390.yaml @@ -0,0 +1,84 @@ +# SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) +%YAML 1.2 +--- +$id: "http://devicetree.org/schemas/mfd/qcom,qca6390.yaml#" +$schema: "http://devicetree.org/meta-schemas/core.yaml#" + +title: Qualcomm QCA6390 WiFi + Bluetoot SoC bindings + +maintainers: + - Andy Gross + - Bjorn Andersson + +description: | + This binding describes thes Qualcomm QCA6390 or QCA6391 power supplies and + enablement pins. + +properties: + compatible: + const: qcom,qca6390 + + '#power-domain-cells': + const: 0 + + pinctrl-0: true + pinctrl-1: true + + pinctrl-names: + items: + - const: default + - const: active + + vddaon-supply: + description: + 0.95V always-on LDO power input + + vddpmu-supply: + description: + 0.95V LDO power input to PMU + + vddrfa1-supply: + description: + 0.95V LDO power input to RFA + + vddrfa2-supply: + description: + 1.25V LDO power input to RFA + + vddrfa3-supply: + description: + 2V LDO power input to RFA + + vddpcie1-supply: + description: + 1.25V LDO power input to PCIe part + + vddpcie2-supply: + description: + 2V LDO power input to PCIe part + + vddio-supply: + description: + 1.8V VIO input + +additionalProperties: false + +examples: + - | + qca6390: qca6390 { + compatible = "qcom,qca6390"; + #power-domain-cells = <0>; + + vddaon-supply = <&vreg_s6a_0p95>; + vddpmu-supply = <&vreg_s2f_0p95>; + vddrfa1-supply = <&vreg_s2f_0p95>; + vddrfa2-supply = <&vreg_s8c_1p3>; + vddrfa3-supply = <&vreg_s5a_1p9>; + vddpcie1-supply = <&vreg_s8c_1p3>; + vddpcie2-supply = <&vreg_s5a_1p9>; + vddio-supply = <&vreg_s4a_1p8>; + pinctrl-names = "default", "active"; + pinctrl-0 = <&wlan_default_state &bt_default_state>; + pinctrl-1 = <&wlan_active_state &bt_active_state>; + }; +...