From patchwork Tue Sep 5 18:58:41 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Loic Poulain X-Patchwork-Id: 111708 Delivered-To: patch@linaro.org Received: by 10.140.94.166 with SMTP id g35csp3230122qge; Tue, 5 Sep 2017 11:58:51 -0700 (PDT) X-Received: by 10.98.205.1 with SMTP id o1mr4794575pfg.280.1504637930952; Tue, 05 Sep 2017 11:58:50 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504637930; cv=none; d=google.com; s=arc-20160816; b=iUnHkZqQVb9gUS+oerfl7w6cE8rfEUr3gQd6UtFeeTJ0pHEBeEf8mdgQ4SR1vkHm2+ DFUaOBWB/QXEJ3VwLhjgHKpEywrz3HSGr5Pbl4ql9itGAzYGGXxD3tjgfD9kSNCX1TYz 0pCmMmMvwO9tlcEJAaGXR5fhwAzn+gbyyAiukfTK8TYQtQemgpTkd3lstQhwYw1M6odQ 6bCyegnD32HD4WjbKfBJHMwjmRSr3RvrLEIY8mnXhxoPkzX+rZRBRxJJ+ulL5Z2EhNPD P89ADsM8PaP5QO5mtrCEHJhOC0Olr2Svbc7MjVLWiD6RQKeb6z7DpPEQGA9dz/d+ueHY HUHQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=SNvpuOcHfzenOWjwuDtu1OBbeIRWcg0YDXjbIQ2B48M=; b=j80WAL8Be6JQk7S4NDDEL0OUaPghN51V13/HaW6Dkc23D3yPZl4DjS3Ax0ZZkBWo0J Sj4CcyFu+KSke2zJQDVN5dKK4ugz40ynjPNS56LTd9f/SdrzMVaGgl695XaPNSBaugVq tX2bcPug429j7JIkZJoXaXCCN2DEQtKxBO2N3Y9PJbR1pJX3tKy5SUi2mgAxHJKAy0px 4kPItfSvzbEkdphyRPA+VjC5FAMzC7uy6CpLs+VF+q03+DOBekUqDIk6QeZOBFaawv4c 4vDm6zNMvdwxlP7HpU2FBQBJizV2l6KkHgWQKbcCbyAqOJjSCqz83lAIA7Gd6K+ikx8c bPEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=M9e+PbqV; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f15si762573pln.13.2017.09.05.11.58.50; Tue, 05 Sep 2017 11:58:50 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@linaro.org header.s=google header.b=M9e+PbqV; spf=pass (google.com: best guess record for domain of linux-arm-msm-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-arm-msm-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752251AbdIES6t (ORCPT + 9 others); Tue, 5 Sep 2017 14:58:49 -0400 Received: from mail-wr0-f174.google.com ([209.85.128.174]:33046 "EHLO mail-wr0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752186AbdIES6s (ORCPT ); Tue, 5 Sep 2017 14:58:48 -0400 Received: by mail-wr0-f174.google.com with SMTP id a43so10463342wrc.0 for ; Tue, 05 Sep 2017 11:58:47 -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; bh=NFOlEdfmOyPDabtBZgniMvEVMDb+qhYNiWcZAetIdss=; b=M9e+PbqV3n2frcp2T9sgAvZgRVqKDNddj/j7tQQXYDPl7Ke6M5uyI1LSCHokUWYptc GLrQnxU22vdZfud8g6E6aSTTFmC5hW85o51fx3fv+U7GgyDBWpI8bfTFuYoX72YQ9DLn ucMUAPNWPEu6AOzBVYJ+baIvOXiDo4ECT6yyA= 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; bh=NFOlEdfmOyPDabtBZgniMvEVMDb+qhYNiWcZAetIdss=; b=XtW/aY9CSFoPqKNzVlRtVmvrd/bORKJdR8uIMeV/NI+Ub0W+1jHe1ohjrcsazpCQ4M Xt2h5NIwp67s8S8xTuY4OmcQDdE6LEeY6fRf7uFSNQA/MUaF8vV3zaVhWZ43UHBxY0d5 zgjoXSplMJtbJ9XiM7j0qS33h5cGLia51lQdnX+9/DjA7qpCxUHYvrwbWNRs+HV5U6Lb MdTj/+e18FLuySh+Akw68ZWb1WbcDZ6f0F/Zc0MY2y1C64cwQDdeefW9ZC7ZGW2kkjD7 hvSYaxGqzve9LR+1bnUZKtT2gVpclUTI3187E8sItwyB1cPhkrJiV3OWr9WJRfFbeIHk sRHQ== X-Gm-Message-State: AHPjjUh7Mm/uvsb9z5DQtzu8mtzkiByvvjoDuZ7qTJ0uq5Vh31Q2bVGU qX77dVLYEnACFY7N X-Google-Smtp-Source: ADKCNb5Wyc0trftYX/fQZLBG6MIQwCS04SxQcESZ3CACu98LQ3ARQL4OH+HUAunKcPSuSP2Kz+xWzw== X-Received: by 10.223.184.122 with SMTP id u55mr32042wrf.286.1504637927218; Tue, 05 Sep 2017 11:58:47 -0700 (PDT) Received: from loic-XPS-12.home (LFbn-1-2083-208.w90-76.abo.wanadoo.fr. [90.76.148.208]) by smtp.gmail.com with ESMTPSA id i15sm1312935wmg.26.2017.09.05.11.58.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 05 Sep 2017 11:58:46 -0700 (PDT) From: Loic Poulain To: marcel@holtmann.org, johan.hedberg@gmail.com, robh+dt@kernel.org Cc: linux-bluetooth@vger.kernel.org, linux-arm-msm@vger.kernel.org, devicetree@vger.kernel.org, bjorn.andersson@linaro.org, lpoulain Subject: [PATCH v5 1/3] DT: net: document Bluetooth bindings in one place Date: Tue, 5 Sep 2017 20:58:41 +0200 Message-Id: <1504637923-21652-1-git-send-email-loic.poulain@linaro.org> X-Mailer: git-send-email 1.9.1 Sender: linux-arm-msm-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-arm-msm@vger.kernel.org From: lpoulain In the same way as Ethernet, gather the Bluetooth related bindings in one file. Introduce the bluetooth-bd-address property which can be used to store the assigned BD address. Signed-off-by: lpoulain --- v2: Set device as unconfigured if default address detected Add warning if BD addr retrieved from DT v3: if no addr retrieved from DT, unconditionally set the invalid BD addr flag. swap and set bdaddr in the platform probe v4: Add dt-bindings documentation split patch in two parts (setup, dt prop) use local-bd-address name instead of local-mac-address v5: remove 2/3 merged in bluetooth-next tree Add bluetooth.txt for common BT bindings expect local-bd-address in little-endian format Documentation/devicetree/bindings/net/bluetooth.txt | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 Documentation/devicetree/bindings/net/bluetooth.txt -- 1.9.1 -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/Documentation/devicetree/bindings/net/bluetooth.txt b/Documentation/devicetree/bindings/net/bluetooth.txt new file mode 100644 index 0000000..94797df --- /dev/null +++ b/Documentation/devicetree/bindings/net/bluetooth.txt @@ -0,0 +1,5 @@ +The following properties are common to the Bluetooth controllers: + +- local-bd-address: array of 6 bytes, specifies the BD address that was + uniquely assigned to the Bluetooth device, formatted with least significant + byte first (little-endian).