{"id":811607,"url":"http://patchwork.ozlabs.org/api/1.2/patches/811607/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1504879075-587-2-git-send-email-loic.poulain@linaro.org/","project":{"id":37,"url":"http://patchwork.ozlabs.org/api/1.2/projects/37/?format=json","name":"Devicetree Bindings","link_name":"devicetree-bindings","list_id":"devicetree.vger.kernel.org","list_email":"devicetree@vger.kernel.org","web_url":"","scm_url":"","webscm_url":"","list_archive_url":"","list_archive_url_format":"","commit_url_format":""},"msgid":"<1504879075-587-2-git-send-email-loic.poulain@linaro.org>","list_archive_url":null,"date":"2017-09-08T13:57:54","name":"[v7,2/3] dt-bindings: soc: qcom: Add local-bd-address property to WCNSS-BT","commit_ref":null,"pull_url":null,"state":"not-applicable","archived":true,"hash":"7b56d8d4a7d9a94a9db1b8dc01b183b02652efb0","submitter":{"id":72294,"url":"http://patchwork.ozlabs.org/api/1.2/people/72294/?format=json","name":"Loic Poulain","email":"loic.poulain@linaro.org"},"delegate":null,"mbox":"http://patchwork.ozlabs.org/project/devicetree-bindings/patch/1504879075-587-2-git-send-email-loic.poulain@linaro.org/mbox/","series":[{"id":2220,"url":"http://patchwork.ozlabs.org/api/1.2/series/2220/?format=json","web_url":"http://patchwork.ozlabs.org/project/devicetree-bindings/list/?series=2220","date":"2017-09-08T13:57:53","name":"[v7,1/3] dt-bindings: net: document Bluetooth bindings in one place","version":7,"mbox":"http://patchwork.ozlabs.org/series/2220/mbox/"}],"comments":"http://patchwork.ozlabs.org/api/patches/811607/comments/","check":"pending","checks":"http://patchwork.ozlabs.org/api/patches/811607/checks/","tags":{},"related":[],"headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"GWxnZNqM\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xpf6P5F2Hz9s75\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tFri,  8 Sep 2017 23:58:05 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1754454AbdIHN6E (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tFri, 8 Sep 2017 09:58:04 -0400","from mail-wr0-f173.google.com ([209.85.128.173]:38059 \"EHLO\n\tmail-wr0-f173.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1753545AbdIHN6B (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Fri, 8 Sep 2017 09:58:01 -0400","by mail-wr0-f173.google.com with SMTP id 108so4836516wra.5\n\tfor <devicetree@vger.kernel.org>;\n\tFri, 08 Sep 2017 06:58:01 -0700 (PDT)","from loic-XPS-12.home (LFbn-1-2083-208.w90-76.abo.wanadoo.fr.\n\t[90.76.148.208]) by smtp.gmail.com with ESMTPSA id\n\tv2sm1869638wmf.40.2017.09.08.06.57.59\n\t(version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128);\n\tFri, 08 Sep 2017 06:57:59 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references;\n\tbh=u2NfjXbE56dyIgrFBHKSNu5NHg9doo17AMig7rf4nmc=;\n\tb=GWxnZNqMpMuMfgLIMlCUG02V7J2+j4NaVNE8zbAjkVUuVroU+bM0JFVAQxrWoJFswn\n\t5U0b/fY67LQrq3Mm8scs9o3m/gG1hvX2m12vD6fjyRICu2hkZXMaeGRZLqP/XfnqFug9\n\tf6WyVKeDHBVkBFK7j0t+YNudk7CrhIKiio17A=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references;\n\tbh=u2NfjXbE56dyIgrFBHKSNu5NHg9doo17AMig7rf4nmc=;\n\tb=RUsdfagTbtsHIeey4TuU4d1p0uEQfdSBTGb8KymGhv+lhhZIEYuRFPdcksaw9HWohr\n\tpUmi0LIc8z5NRnF9NvFPMQKT2pQXKpvpFCP+BKWz8o7UdwwlSiv5xwcCvfEvJQry1xWY\n\tzREXYkIH46uUcT97DYx2nNmHq1epTN4ZGNFW/JNmLAwZELuy+CHZToAadcB9NjQly1FU\n\tmHmAp3WrE7MQiXWr884OHBiyzSC1HHL1frUFAiVqTiTNp9BNr3yC9sRYMzC/CV8ui/77\n\ttN+iw4EZeh18C3RyOjA9o/uyFEnl8IziqH4ZqXoxc2fQnwnFlMgOjNOUecDkwIUV8lFr\n\trKSA==","X-Gm-Message-State":"AHPjjUjNJymb+nBRuZwHYQ6DmWgD5NyYtnvfE04Qo6dC5Ee+wXtGvRhk\n\tG3dGNFyqWImyWkAa","X-Google-Smtp-Source":"ADKCNb4eN6NlUbXDQ3DUWd/UJYWXbjotljPE9/YEeQmN9L2tKTTpHBh5DjKHbpjGbvQ5fYGjpqLJBg==","X-Received":"by 10.223.169.83 with SMTP id u77mr2036969wrc.268.1504879080440; \n\tFri, 08 Sep 2017 06:58:00 -0700 (PDT)","From":"Loic Poulain <loic.poulain@linaro.org>","To":"marcel@holtmann.org, robh+dt@kernel.org, johan.hedberg@gmail.com","Cc":"linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org,\n\tdevicetree@vger.kernel.org, bjorn.andersson@linaro.org,\n\tLoic Poulain <loic.poulain@linaro.org>","Subject":"[PATCH v7 2/3] dt-bindings: soc: qcom: Add local-bd-address property\n\tto WCNSS-BT","Date":"Fri,  8 Sep 2017 15:57:54 +0200","Message-Id":"<1504879075-587-2-git-send-email-loic.poulain@linaro.org>","X-Mailer":"git-send-email 1.9.1","In-Reply-To":"<1504879075-587-1-git-send-email-loic.poulain@linaro.org>","References":"<1504879075-587-1-git-send-email-loic.poulain@linaro.org>","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"},"content":"Add optional local-bd-address property which is a 6-byte array\nstoring the assigned BD address. Since having a unique BD address\nis critical, a per-device property value should be allocated.\nThis property is usually added by the boot loader which has access\nto the provisioned data.\n\nSigned-off-by: Loic Poulain <loic.poulain@linaro.org>\n---\n v2: Set device as unconfigured if default address detected\n     Add warning if BD addr retrieved from DT\n v3: if no addr retrieved from DT, unconditionally set\n     the invalid BD addr flag.\n     swap and set bdaddr in the platform probe\n v4: Add dt-bindings documentation\n     split patch in two parts (setup, dt prop)\n     use local-bd-address name instead of local-mac-address\n v5: remove 2/3 merged in bluetooth-next tree\n     Add bluetooth.txt for common BT bindings\n     expect local-bd-address in little-endian format\n v6: use of_property_read_u8_array instead of of_get_property\n v7: use dev_info instead of BT_INFO to have dev context\n\n Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt | 8 ++++++++\n 1 file changed, 8 insertions(+)","diff":"diff --git a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt\nindex 4ea39e9..042a2e4 100644\n--- a/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt\n+++ b/Documentation/devicetree/bindings/soc/qcom/qcom,wcnss.txt\n@@ -37,6 +37,11 @@ The following properties are defined to the bluetooth node:\n \tDefinition: must be:\n \t\t    \"qcom,wcnss-bt\"\n \n+- local-bd-address:\n+\tUsage: optional\n+\tValue type: <u8 array>\n+\tDefinition: see Documentation/devicetree/bindings/net/bluetooth.txt\n+\n == WiFi\n The following properties are defined to the WiFi node:\n \n@@ -91,6 +96,9 @@ smd {\n \n \t\t\tbt {\n \t\t\t\tcompatible = \"qcom,wcnss-bt\";\n+\n+\t\t\t\t/* BD address 00:11:22:33:44:55 */\n+\t\t\t\tlocal-bd-address = [ 55 44 33 22 11 00 ];\n \t\t\t};\n \n \t\t\twlan {\n","prefixes":["v7","2/3"]}