Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2685779yba; Mon, 8 Apr 2019 02:26:16 -0700 (PDT) X-Google-Smtp-Source: APXvYqwlUiuQSLPjWfQ0QO9LUOyVe0JjdkRi2Gl/6zkXkpzvky5Vr3pRoL2Ql6ZewWFvSBd6psXG X-Received: by 2002:a63:5a4b:: with SMTP id k11mr27850158pgm.119.1554715576762; Mon, 08 Apr 2019 02:26:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554715576; cv=none; d=google.com; s=arc-20160816; b=p5Bwt1DBDG7M845ny0CY807SVTZsOcOhssCEo59sSLdhmGT1VoL6osCsY1JI/jugNJ ZhieaiKlgGXrl/Dh+4V2FKRDx/Okg1Dzx1hGMoGQt9X+1YJ3r9osFyIOX0PpOm6O4Mex J6lpDmE0vpqyJFqYQGSKh9sswrqj9yMOKfZ0NwyQV/hp24aAiwJs8OHGz14VMy8R1ReR HsbAcragzUvzRGAuMxLxGr78gMMp7EuIwyxuNJCeCm9ZrSf5IKHdctOYkJK76rPLvXNF EsrPKGuGqihbxBr9AJc7x3eFp4mM4+m70QWCrNLtJtYc1Pka9c3tRjW+5gYnhxsPuPyY ctqw== 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=wPCsPseQBMIVb8GXk16egJLLB0THHe+Jag2FwI16saY=; b=WFNF0lsxvvXQOIGLtxEQjD2MQgaoImkJDYaUdUeKgugCGNoC++0z5tY+InFPvJPovm Y1vZa8UerVDwEurxeYQacuMjQoTLheh7giOdznfAlUMyak8CP1xByy9yWgKOb4i6HfO0 A/yP6fPBs9/lLcF1BrwPN3u5PxyZOD7jcTQfW20spCTkAjhMJ4nsOlsv7AevKXSYvUc7 VjMTjCpm8rvAKoDIMILqjC0YQr/VRugt3FrwdTOZUihTN1SLWuLO7CBJVs7XuxgmKTF4 qNQD4DSqevylovrhHr+NHEWjK/CiApkUhJ1ucRINLfiZ5ZjTZQNxsKuDCjRg888TUCQC TgWQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=qvEN2oRQ; 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 e6si26137159pgb.435.2019.04.08.02.26.01; Mon, 08 Apr 2019 02:26:16 -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; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=qvEN2oRQ; 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 S1726766AbfDHJYH (ORCPT + 99 others); Mon, 8 Apr 2019 05:24:07 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:32867 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726599AbfDHJYG (ORCPT ); Mon, 8 Apr 2019 05:24:06 -0400 Received: by mail-wm1-f66.google.com with SMTP id z6so14774113wmi.0 for ; Mon, 08 Apr 2019 02:24:04 -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 :mime-version:content-transfer-encoding; bh=wPCsPseQBMIVb8GXk16egJLLB0THHe+Jag2FwI16saY=; b=qvEN2oRQgComG5lR//4SvQh1FjsGSWFitCflprTZKiZh+VDlvJXWKvMHXNVcdlupc6 bDD0t7ZHFhSwB8AIaOsdJSHaesz2bxWsj59L/4BnbMoJ2vQdFD/XC0ShuboPLkRmYbew 2MLexCvte3WZWoOLEUxHyruM64+t+7shcRjcLvBHeVesRWCshPVaL8e6dMTNuajbfbVB tCkPFStH4K2rV0tN172ntcgvMEaAxBmF05/PPO1Tj+61xofFP13PZF5+0Ej3WR9206/K 8uNqxZVZpBFFRXELOUBVkCBSgb3vXNV6ykzQFBzjEGS4Dh/XSo77ymBqhKc2enPdG/36 HkkQ== 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=wPCsPseQBMIVb8GXk16egJLLB0THHe+Jag2FwI16saY=; b=JY4CfnFJvO9mRUU9COkef7ugH6o6l/2Z1j+PufYkG/3qFVL42l5HzcLgQYMF8kB/Br cD8sdEZY0ThrW6YP1cSTgr9hSqj5x+nv8pN1/7zLV7aOCA5XmXxENZp194nW0TlatHlE 8g+kTteOnyHGRLbSLX9HLMYc/bEptiJdmcl0rxo3gSkRuld6n8JrJn4Fts/HVMO8rMX1 WuY/zQE3fxu2cxrblZiCbXpnIZna8xDLpCW/NqGKRCOJ6OlQwM+x93jk2YyOMhWrHXqO a9nmpbvcYZfB2AUyyJWt+A4WQVSXj6ShpPexGtnZUCORPJTG/XVBH7inlG5a6HnkAcb+ LmLw== X-Gm-Message-State: APjAAAWkeVh1vkbrq2PAVkhhpAXR3oghDbojc/ruQ2aJkK47eKjP987x aAQviEFz63AgzpNVVNlBCarygA== X-Received: by 2002:a1c:480b:: with SMTP id v11mr16590842wma.25.1554715444219; Mon, 08 Apr 2019 02:24:04 -0700 (PDT) Received: from bender.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id j3sm70528221wre.51.2019.04.08.02.24.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Apr 2019 02:24:03 -0700 (PDT) From: Neil Armstrong To: hverkuil@xs4all.nl, mchehab@kernel.org, devicetree@vger.kernel.org Cc: Neil Armstrong , linux-amlogic@lists.infradead.org, linux-media@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Rob Herring Subject: [PATCH v3 1/3] media: dt-bindings: media: meson-ao-cec: Add G12A AO-CEC-B Compatible Date: Mon, 8 Apr 2019 11:23:56 +0200 Message-Id: <20190408092358.25894-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190408092358.25894-1-narmstrong@baylibre.com> References: <20190408092358.25894-1-narmstrong@baylibre.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 The Amlogic G12A embeds a second CEC controller named AO-CEC-B, and the other one is AO-CEC-A described by the current bindings. The register interface is very close but the internal architecture is totally different. The other difference is the clock source, the AO-CEC-B takes the "oscin", the Always-On Oscillator clock, as input and embeds a dual-divider clock divider to provide the precise 32768Hz base clock for CEC communication. Signed-off-by: Neil Armstrong Reviewed-by: Rob Herring --- .../devicetree/bindings/media/meson-ao-cec.txt | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/Documentation/devicetree/bindings/media/meson-ao-cec.txt b/Documentation/devicetree/bindings/media/meson-ao-cec.txt index 8671bdb08080..c67fc41d4aa2 100644 --- a/Documentation/devicetree/bindings/media/meson-ao-cec.txt +++ b/Documentation/devicetree/bindings/media/meson-ao-cec.txt @@ -4,16 +4,23 @@ 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 + - compatible : value should be following depending on the SoC : + For GXBB, GXL, GXM and G12A (AO_CEC_A module) : "amlogic,meson-gx-ao-cec" + For G12A (AO_CEC_B module) : + "amlogic,meson-g12a-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. + - clock-names : from common clock binding, must contain : + For GXBB, GXL, GXM and G12A (AO_CEC_A module) : + - "core" + For G12A (AO_CEC_B module) : + - "oscin" + corresponding to entry in the clocks property. - hdmi-phandle: phandle to the HDMI controller Example: -- 2.21.0