Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp50821yba; Mon, 1 Apr 2019 01:21:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqx1Zwu5NmBWKqdPVL54MEuFlyHEYhpAX+b3vtuhNo/CoH6iH0sB5igQR7Db3FWQhmTbP0Pq X-Received: by 2002:a17:902:b210:: with SMTP id t16mr39349941plr.84.1554106885781; Mon, 01 Apr 2019 01:21:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554106885; cv=none; d=google.com; s=arc-20160816; b=OorzOU2HTBUGY1PEyR3NnbT7xBUwlvust61ItNIpRHbNxikBX8PY4uVcrqhwKWrRgd 3eMcFt1O8LKiQcSMCMvCh6uikwSbXAqPNSPK0lHzbdu1uyX7qXdEh0PiVPTrLS8+1MlJ tLs7EYyE4Qf5S/FRQosa/qAoVcmxUZHpBCE8Sk7YqdY1FBjymXScprsvI4HQBen/9ac1 cN1gxbV1vC2C9B98Yniep6Iw24rpXXkuv9CTm9KfBSWDvh6MgZhvrl/CTo7TZyNiNvvB 4kpNoHGDO+b195zWxnEupFzNSGUzDD+de3xyVjf2UC1rRR9T84nmIubmcrdOUhzwLcfm qefw== 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=LP1GDjllfpczPTet5xNq5bDA1vK9bUccs+ExPgY6qfw=; b=ABipfRaHHUx4wleSMhZOV0vA85JcVErWUam7ph57qaF66u2V2kRM4BUAPih+WbJEXT 4pJAMxUMDWehLkK2IH3lLiPYZ2RSo2zBfmMgfSJGXsBzdVZVAV6dWSz5/7PiPUfqEjso gUVAUuy7YGK9UrZ5mqpMIxAtcQCzuBet9jOH9Mj8+zhPjFfvex+NwXyeMHSOE0Li2Bsg 0ZBaxq0jMjMbn5MiSmeoMlyAfp55ewno3AJh5e1EhjV5I+1gZdHZNiAzHAI0nmmF4UUn bFFS7nV44zt32wG31iGPvV8LQmDFp99OAcVMMG9HtHfntV7Cug+R6lDdP71JuGt7G+6+ BpJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=1PZNLNkc; 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 h14si8338429pgl.426.2019.04.01.01.21.10; Mon, 01 Apr 2019 01:21:25 -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=1PZNLNkc; 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 S1732236AbfDAIUG (ORCPT + 99 others); Mon, 1 Apr 2019 04:20:06 -0400 Received: from mail-wm1-f65.google.com ([209.85.128.65]:51466 "EHLO mail-wm1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731988AbfDAIUF (ORCPT ); Mon, 1 Apr 2019 04:20:05 -0400 Received: by mail-wm1-f65.google.com with SMTP id 4so9323740wmf.1 for ; Mon, 01 Apr 2019 01:20:03 -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=LP1GDjllfpczPTet5xNq5bDA1vK9bUccs+ExPgY6qfw=; b=1PZNLNkckfq8xTd+uNEY6gpitC2ZtLcwvqHy5dzgaRExsDLdJUAq/Op6HUAjFPwhO8 RD1dLIFyatxH9znQGQCpUOqBlZAtZB9nYTjKK1h4MoPAsqD/VYenfiseRK6UUabZmahY ypfxqVWexc0QxSF5LZ1XWYq7UO2vZFGn0/ooyAXTlSSW05wiHcNk+dpNyNk8BQ1IWxXJ kV702bYXTST2nmnl+EaM/VLUqWMHWQjv1rxURPQ2I+CDYUUFtpmcZL7XiwgjWHEzot9g a67OSn/5bNmfO398OZ6tjaEOMrYpR0v2eOvW+51mrYCzHYUJSUm8MPY9krzwfNOc6e14 8JGw== 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=LP1GDjllfpczPTet5xNq5bDA1vK9bUccs+ExPgY6qfw=; b=qJ49G30bEzrjBL7jJbsSJxrR2X2oZImo7yr2cKLDH+hcvAEVKGugyuKTXD3MDf0I1b 7w5vOq94uEzo5ANvIpui4LaKWhHC2AxI7JxObE7IZkwB9VhX8QEKcM5baVtOx8KegjHt N5l8yoZLRTi4Y8lbXxs4xixI5/CQx0/bSwk5zkhH9TkDv8r+WV1jP7Ayti21X8OPniU4 euCVOkRI8QudxKaSsBawm0d5DyyXkHbOqHaiecN5//8HiYKhWlDRkwGcA4i9uUJQZgQu usnXLajsjZrrXB4S6ySUSv0TtdB+uc/OHbnURLXcVkcSslXxawA46W2/EZZxWYlYk/lq Kr6Q== X-Gm-Message-State: APjAAAVYZ4vpbutN1o4/GIjdxOssjpi8SuXQouUj/+MqgkBlYUpAdcKG 3v8s5Egf65mlEDuhD5HXhHO1SA== X-Received: by 2002:a1c:67c2:: with SMTP id b185mr11730949wmc.68.1554106803091; Mon, 01 Apr 2019 01:20:03 -0700 (PDT) Received: from localhost.localdomain (176-150-251-154.abo.bbox.fr. [176.150.251.154]) by smtp.gmail.com with ESMTPSA id r196sm10053534wmf.22.2019.04.01.01.20.01 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 01 Apr 2019 01:20:02 -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 Subject: [PATCH v2 1/3] media: dt-bindings: media: meson-ao-cec: Add G12A AO-CEC-B Compatible Date: Mon, 1 Apr 2019 10:19:57 +0200 Message-Id: <20190401081959.16474-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190401081959.16474-1-narmstrong@baylibre.com> References: <20190401081959.16474-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 --- .../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