Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp48629ybv; Tue, 4 Feb 2020 16:10:35 -0800 (PST) X-Google-Smtp-Source: APXvYqzbwvEx/p0QfMrfIBSitn+nzNCYpDLzR8kjtHSd4n1fBiLO7wHU1l0tzMuV4xXJ+fVghZla X-Received: by 2002:a9d:5e82:: with SMTP id f2mr12928295otl.240.1580861435381; Tue, 04 Feb 2020 16:10:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1580861435; cv=none; d=google.com; s=arc-20160816; b=uiySaq4gKDaqoA5naOEqiBNsAkQ6izL7r4Beau7YcSt0Y2F8G/2rFNzbZ4r/r/R4CE oyfi9uvfzSKgzmau9vGMgrH9UOCq4IGUnhm+GhtSOp7eRdCzDzTj59nkQf6ITNjTEpR3 1DhJqtm+rgOKEyHYpepx/slRaCi1EIEoLXVrk2/t3WvBmocUpNEw3blcq8W+JOyCJRye d16bG6zLpwUqX/irG4BRfieNVc11m3YLdObO1CBdKu3sbrFYsoMdpY2f2HopOKd1X2nf XsZ45niyiFejziglAb5t36SvzEPAtjy3PQjERuB2ANx8JfDa3EtVALWFRrsJkbanFH1c LHFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=rNgHMA6kv0sEkVkQCHv5m/SCpI5yps7HvaSz94olJGw=; b=kKMX5RQHR/QjHO2hHf1rqHZX9VByX6sV0YBpA59/k8V8lTIVHp/l/1Td5EUQIcs1P1 OMSjymK2s3EBQni775PKvat8vsc/mWJGgtg1OHCRChX1ay5Q7CxXQQwPIVDeQImVObRt mH30PP2qEO+7yu2wp1HMlkgV8hILXoybhmbYcn1diyLWixcYaB0bnfHQ/Avo7pbnVFtK ZKRnMEG/L/FHUNhhYrZjIjAgtuO4LQLdZY9Onksc6sHfs1X/SA/Ynx+giGb2SpIvw7sV MZPCKdGOhxVmrGNdoNMX2Ly4bBDEmH+4aVa2aDmeefRJqdUBc2TcaaNX8FEgIp73VDBu AYZQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FduV5e7H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b25si3027795otf.151.2020.02.04.16.10.22; Tue, 04 Feb 2020 16:10:35 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=FduV5e7H; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727945AbgBEAHv (ORCPT + 99 others); Tue, 4 Feb 2020 19:07:51 -0500 Received: from mail-pl1-f193.google.com ([209.85.214.193]:37362 "EHLO mail-pl1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727921AbgBEAHq (ORCPT ); Tue, 4 Feb 2020 19:07:46 -0500 Received: by mail-pl1-f193.google.com with SMTP id c23so89005plz.4; Tue, 04 Feb 2020 16:07:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=rNgHMA6kv0sEkVkQCHv5m/SCpI5yps7HvaSz94olJGw=; b=FduV5e7HHuIFti5m8veUplRlVddJCO+yldY9RyI4aJLl69t7Q56G9YCzNz/5uK2rqh uKV8J0rtb6IsQZpQj95xIZ0wHnhuRqQVM4HjKZ2u/qr0vxDj+isgnnCifl7sg1xzlQWr PlJ3X/0IlWdSc99RZlKgYNXmhV2KLNP/JaR3Bs0IkRqbERYO4QdyrhsPfCf7dHO2eeQU uQJyJI6YD5YU7LqywP5PA4CYVKAhQpV+7t32Qo4gBLRt8sLQVF9IgkqYZqiwXoncausw 43fG6VTKvbGo8RYi8IciME75p7KCcnjY1FKx3T6GuRvhxlDM/Q1/f6M58xTQ/zYu+NmW cnpg== 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=rNgHMA6kv0sEkVkQCHv5m/SCpI5yps7HvaSz94olJGw=; b=jB/5SgdS2dtW2xAABstsU6Rbi0IcIw8DF9jyU9bHGlwYx6fOKfc+niV52oLFN5XLN4 f8WToZA25AG4MjFbhIuUpranCpM0+B5AIT+VmXeiAyWH1uTNcGO/hqWvUV5tdagLqEd9 z3D/pEByTGv/qt4lnzyH36V0V47avpkTBFXz/U0UWO1fNmNxIffdPU6JmlWP5peKYSah 0VPRZ9gIykuGn6XpLVK3thvNbzKkxZP2tHANynUNOtosH3+rrutzp6bwn30WEGvb9i0s T/MmD62Wght8bic3hxU3Q0Y+biaBOn2LunsLdW8AdYGqS3EizNIzARLj3qSheU/1hocO yq6w== X-Gm-Message-State: APjAAAUfofwErPIn5fLUOztRFuLe/dSUK35zSocrfcVEnu4GR+LP54FX yTrVZgJTi1IaBxSWgRR58gc= X-Received: by 2002:a17:902:9a42:: with SMTP id x2mr33932389plv.194.1580861265516; Tue, 04 Feb 2020 16:07:45 -0800 (PST) Received: from localhost.localdomain (ip68-111-84-250.oc.oc.cox.net. [68.111.84.250]) by smtp.gmail.com with ESMTPSA id g2sm25575468pgn.59.2020.02.04.16.07.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Feb 2020 16:07:45 -0800 (PST) From: Florian Fainelli To: linux-arm-kernel@lists.infradead.org Cc: Florian Fainelli , Rob Herring , Mark Rutland , Ray Jui , Scott Branden , bcm-kernel-feedback-list@broadcom.com (maintainer:BROADCOM IPROC ARM ARCHITECTURE), Nicolas Saenz Julienne , Sugaya Taichi , Andrew Jeffery , Arnd Bergmann , Joel Stanley , Maxime Ripard , Vinod Koul , "james.tai" , devicetree@vger.kernel.org (open list:OPEN FIRMWARE AND FLATTENED DEVICE TREE BINDINGS), linux-kernel@vger.kernel.org (open list), linux-rpi-kernel@lists.infradead.org (moderated list:BROADCOM BCM2711/BCM2835 ARM ARCHITECTURE) Subject: [PATCH v2 12/12] dt-bindings: arm: bcm: Convert BCM2835 firmware binding to YAML Date: Tue, 4 Feb 2020 15:55:52 -0800 Message-Id: <20200204235552.7466-13-f.fainelli@gmail.com> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20200204235552.7466-1-f.fainelli@gmail.com> References: <20200204235552.7466-1-f.fainelli@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Convert the Raspberry Pi BCM2835 firmware binding document to YAML. Verified with dt_binding_check and dtbs_check. Signed-off-by: Florian Fainelli --- .../arm/bcm/raspberrypi,bcm2835-firmware.txt | 14 -------- .../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 33 +++++++++++++++++++ 2 files changed, 33 insertions(+), 14 deletions(-) delete mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt create mode 100644 Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml diff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt deleted file mode 100644 index 6824b3180ffb..000000000000 --- a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.txt +++ /dev/null @@ -1,14 +0,0 @@ -Raspberry Pi VideoCore firmware driver - -Required properties: - -- compatible: Should be "raspberrypi,bcm2835-firmware" -- mboxes: Phandle to the firmware device's Mailbox. - (See: ../mailbox/mailbox.txt for more information) - -Example: - -firmware { - compatible = "raspberrypi,bcm2835-firmware"; - mboxes = <&mailbox>; -}; diff --git a/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml new file mode 100644 index 000000000000..db355d970f2b --- /dev/null +++ b/Documentation/devicetree/bindings/arm/bcm/raspberrypi,bcm2835-firmware.yaml @@ -0,0 +1,33 @@ +# SPDX-License-Identifier: GPL-2.0 +%YAML 1.2 +--- +$id: http://devicetree.org/schemas/arm/bcm/raspberrypi,bcm2835-firmware.yaml# +$schema: http://devicetree.org/meta-schemas/core.yaml# + +title: Raspberry Pi VideoCore firmware driver + +maintainers: + - Eric Anholt + - Stefan Wahren + +properties: + compatible: + const: raspberrypi,bcm2835-firmware simple-bus + + mboxes: + $ref: '/schemas/types.yaml#/definitions/phandle' + description: | + Phandle to the firmware device's Mailbox. + (See: ../mailbox/mailbox.txt for more information) + +required: + - compatible + - mboxes + +examples: + - | + firmware { + compatible = "raspberrypi,bcm2835-firmware"; + mboxes = <&mailbox>; + }; +... -- 2.19.1