Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp5293817imm; Tue, 16 Oct 2018 08:07:44 -0700 (PDT) X-Google-Smtp-Source: ACcGV62+pYtuPDAcV8Ybrk9boD3F+J8wOD82/wpgDXpOh/go1sk38leEjm0ORp27iNFEcdIlzGr/ X-Received: by 2002:a17:902:292a:: with SMTP id g39-v6mr21947209plb.269.1539702464280; Tue, 16 Oct 2018 08:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539702464; cv=none; d=google.com; s=arc-20160816; b=J0Gp10RMh9XNke3UNr/lv6Y83XxEn1aw3gcBkVG6XITkbV1e99KZPOoGx7R27vhZqK +DQohf95NTpziB6yKFlis/aj7/L3kxqmRlIobBYs2GutKM3F3g5v/tGV4NmPOZre+rSd KGaYwA7MglSoeUetKFddU/F2dpWExxQXPaCabJZm4p4cKyy+9qvM2JEP1uzhKGRwFllY Ga3ao2wkm35bizr+fNw14JCExMAFB73OEX0KMbeF5F3n6RRVsJoodmshIomEQ0TSlPJq zYX1KbHD+eCzRlGd4jEkPOxYs2GNzg7zmX2Ss2viVFnHm6cP2xnK+I09mAWrm5/JDJIO XUug== 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; bh=ZruokW08ENSIM2BBUlEvnK6ElFm/mXxaDvTqthgOXw0=; b=Q0MmVfF5coeREaky6iLTQl/58EMuMwra7MQelk8XUJRz0jpzf76wdSp6yYhVguT0jj n+WXl9rExSaqNNKeO9SjHs1pM9L1+eoYpilcLgvibizq6G/4FivMQIeI9R/mihLIOeom XPm4UqcbxIVH7U7ogQNpB2V2zr5nGMm+t+g42gGE8fJuLGPNlLwxqmvL4qMlO3s73CtQ P/LxuoHqGpoFdS85rFi6UaotwUju1VHCKer7DPFcZ0NrPidhdQBgm9SXvQPG+FRwowK0 grx0WG8Y9c6sCyVYVzqIgkz2iOOrr9ziALkTW+a3dVzJ6APfEea9KHsnnSLO5Z0jqg1c 9CvQ== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x15-v6si13927418pln.425.2018.10.16.08.07.26; Tue, 16 Oct 2018 08:07:44 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727510AbeJPWz1 (ORCPT + 99 others); Tue, 16 Oct 2018 18:55:27 -0400 Received: from mx2.suse.de ([195.135.220.15]:55726 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1727263AbeJPWyw (ORCPT ); Tue, 16 Oct 2018 18:54:52 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay1.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 23AE3B073; Tue, 16 Oct 2018 15:03:59 +0000 (UTC) From: Nicolas Saenz Julienne To: gregkh@linuxfoundation.org Cc: eric@anholt.net, stefan.wahren@i2se.com, linux-rpi-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, robh+dt@kernel.org, tiwai@suse.de, nsaenzjulienne@suse.de Subject: [PATCH 6/9] ASoC: dt-bindings: bcm2835-rpi: add onboard audio bindings Date: Tue, 16 Oct 2018 17:02:25 +0200 Message-Id: <20181016150228.16994-7-nsaenzjulienne@suse.de> X-Mailer: git-send-email 2.19.1 In-Reply-To: <20181016150228.16994-1-nsaenzjulienne@suse.de> References: <20181016150228.16994-1-nsaenzjulienne@suse.de> 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 Adds a device tree binding file for Raspberry pi's Headphones and HDMI audio output devices. Based on raspberry's downstream kernel implementation: https://github.com/raspberrypi/linux/blob/rpi-4.14.y/arch/arm/boot/dts/bcm2708-rpi.dtsi Signed-off-by: Nicolas Saenz Julienne --- .../bindings/sound/brcm,bcm2835-audio.txt | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Documentation/devicetree/bindings/sound/brcm,bcm2835-audio.txt diff --git a/Documentation/devicetree/bindings/sound/brcm,bcm2835-audio.txt b/Documentation/devicetree/bindings/sound/brcm,bcm2835-audio.txt new file mode 100644 index 000000000000..ee6fa085aaa9 --- /dev/null +++ b/Documentation/devicetree/bindings/sound/brcm,bcm2835-audio.txt @@ -0,0 +1,15 @@ +Broadcom BCM283x audio device + +Required properties: + +- compatible: Should be "brcm,bcm2835-audio" +- brcm,pwm-channels: number of PWM channels, they are behind RPi's Video Core + IV, not actual Linux PWM devices. + +Example: + +audio: audio { + compatible = "brcm,bcm2835-audio"; + brcm,pwm-channels = <8>; +}; + -- 2.19.1