From patchwork Mon Jul 10 08:01:36 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Neil Armstrong X-Patchwork-Id: 9832551 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 5874060318 for ; Mon, 10 Jul 2017 08:02:39 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D8AE6283C7 for ; Mon, 10 Jul 2017 08:02:35 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id CC910283F9; Mon, 10 Jul 2017 08:02:35 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 35DF9283C7 for ; Mon, 10 Jul 2017 08:02:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=zUrs8VuItp+77CSPrVE885cv4qwtdd1BZVuLilBKbwQ=; b=MiWwsSfkCjV1lTesh+Q9UBhmDj SnUDa1kBo1L6nLE6Q+M1yWoFteRrwqpFL5ogDdSRNNHBYJRf6E3aTcWRs3ggbyoFycO2/vQwJIWGs o0OFmIZ+imq3x//Z7y49Pf9sjnlhCv01rz2jfpWnkVCxF8Fl5lYHsQrd3Zrn+SQhSppaMrOqmzXcH Y5Cue+ZA1eR3+AzYVz+AIH/ozmmjWWc75VO5fXf2OKRvBe4kFUVd0EUzh5riyE/BuDKgMnlIn3wBe skEs2Ty/aSZLZEnVANm6oFI+namnnAUIeaibWY5JLOQfsQOHouTQcZcL+rTOq7JxAJpRhZ3FPFlkj w5iwQyLw==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dUTeK-00062G-Ru; Mon, 10 Jul 2017 08:02:32 +0000 Received: from mail-wr0-x22c.google.com ([2a00:1450:400c:c0c::22c]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dUTe3-0005h7-8F for linux-arm-kernel@lists.infradead.org; Mon, 10 Jul 2017 08:02:18 +0000 Received: by mail-wr0-x22c.google.com with SMTP id 77so127216290wrb.1 for ; Mon, 10 Jul 2017 01:01:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=JYbcQEz3JwP+K6hqUiy26+OfrnXJ3N1qaMlLYORrG9w=; b=eS7eDqK4gB57yw3W0r7pMxKr5oruh63IqhaJo7hHMafQzkvkCZTqJ8yP4aI4O08fvM E1oboOwYen5rDvdYfFSkbmeuRw2w88xhvK/hKMosouEvVZX4pB0mwIdQDjGlgXGyeAbP sXA9kDrNm4nEU+OWBqB6hNyAz1kxHVCIMqkm3Ad9MAorNDeVxUgo9A7on45izbyvT5cU Y/zXnPoQ+CLvBD5apkh7kWqq6x2J7IBfoAQJz0xRxG7Leo3v7LZYJNcKOYmz96GiglpL 3T2yuaMM4gRIonifsdchsXeh+CLRwwDQk5SRkv2yy2a26efDvm6MHOxWj680QtP82/Fi UxvA== 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; bh=JYbcQEz3JwP+K6hqUiy26+OfrnXJ3N1qaMlLYORrG9w=; b=RFQITLFRTa6mtBmWgjd2vWSFR043W9Z24ZZk3La873BF9KCuLY7hvXVsUOdIFpxOUq fBVRRP6pIopcnGCcZc6g3mvtvc8dToeMoay/xBr41mcJ5n8ca5ZppAmHAIb1fgY3UFB1 CInhaLo4Q7U2D3NAR0OQjPzorw/8pYVCI8/GFKZoH3uf7PLgnjx38ZpC6TdLy8njlSnT zk0zEXu2/q9cHR4z0I/cbwZPGO0hG78ZPFlrHHTxuP3EkfnSn6YSD91P2JjunVlIyMb4 x/vDtWRCs2A2Aeq/Vzr0rARnZyOk2CnN2mhG3HsGw94YHBz1iew03KQV1/nDZ6D20Oo3 Q7Qg== X-Gm-Message-State: AIVw112QXheXDr8nVzOeHmE3zMidcNrXhKtHA22uasFnL35QY2WqDSPN DnqR7cnT6PHTLZzu X-Received: by 10.28.137.146 with SMTP id l140mr6722421wmd.101.1499673715611; Mon, 10 Jul 2017 01:01:55 -0700 (PDT) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id q24sm7131445wra.16.2017.07.10.01.01.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 10 Jul 2017 01:01:54 -0700 (PDT) From: Neil Armstrong To: mchehab@kernel.org, hans.verkuil@cisco.com Subject: [PATCH v2 2/2] dt-bindings: media: Add Amlogic Meson AO-CEC bindings Date: Mon, 10 Jul 2017 10:01:36 +0200 Message-Id: <1499673696-21372-3-git-send-email-narmstrong@baylibre.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1499673696-21372-1-git-send-email-narmstrong@baylibre.com> References: <1499673696-21372-1-git-send-email-narmstrong@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170710_010215_479860_3ABD738A X-CRM114-Status: GOOD ( 13.36 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Neil Armstrong , linux-kernel@vger.kernel.org, linux-amlogic@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-media@vger.kernel.org MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP The Amlogic SoCs embeds a standalone CEC Controller, this patch adds this device bindings. Acked-by: Rob Herring Signed-off-by: Neil Armstrong --- .../devicetree/bindings/media/meson-ao-cec.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 Documentation/devicetree/bindings/media/meson-ao-cec.txt diff --git a/Documentation/devicetree/bindings/media/meson-ao-cec.txt b/Documentation/devicetree/bindings/media/meson-ao-cec.txt new file mode 100644 index 0000000..8671bdb --- /dev/null +++ b/Documentation/devicetree/bindings/media/meson-ao-cec.txt @@ -0,0 +1,28 @@ +* Amlogic Meson AO-CEC driver + +The Amlogic Meson AO-CEC module is present is Amlogic SoCs and its purpose is +to handle communication between HDMI connected devices over the CEC bus. + +Required properties: + - compatible : value should be following + "amlogic,meson-gx-ao-cec" + + - reg : Physical base address of the IP registers and length of memory + mapped region. + + - interrupts : AO-CEC interrupt number to the CPU. + - clocks : from common clock binding: handle to AO-CEC clock. + - clock-names : from common clock binding: must contain "core", + corresponding to entry in the clocks property. + - hdmi-phandle: phandle to the HDMI controller + +Example: + +cec_AO: cec@100 { + compatible = "amlogic,meson-gx-ao-cec"; + reg = <0x0 0x00100 0x0 0x14>; + interrupts = ; + clocks = <&clkc_AO CLKID_AO_CEC_32K>; + clock-names = "core"; + hdmi-phandle = <&hdmi_tx>; +};