Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp2808814yba; Mon, 8 Apr 2019 05:19:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqyWguCluhuo9MjbcTBsx1NUPdhzF/aEynPXll8r6vNMJCopPqegmKTixszefeYNe+ATuDfE X-Received: by 2002:a17:902:9881:: with SMTP id s1mr28587586plp.99.1554725952810; Mon, 08 Apr 2019 05:19:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554725952; cv=none; d=google.com; s=arc-20160816; b=qyn1VIvMYp9CFxdMfUA2CmTeFMyGWkxxVg7EeKexQZpHvPpMhUVQM6WtfcjHDT66XI Z88vyhYm+fn32FwoAksXSoVQmZ1ykg9eH1B1IMXjScrZ0h4Xy22LCqFwQnAqmAXP5jn5 UQXTmBE0uKjRZgIvNjwvB82CChgoU1ADAADtjW65n80zdLETS/MP8nznf1wuX8/s6Mzd Tiy/0FysB8raUcdja6S0gEiHPVJTL3UPiprYcUBCN5GcsxqTQiwFZtlpLP5TAkBN89tg 0f9eF5MBICKxzenmA0KiGt7e+wEUZ8bEoFHUYp3xYheHWmxbahTOLrIjZIpMzin8V4ya MbVA== 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=NhDqHdpDtqc6ALRcH7zZZiGXt8PxuSoxAVJvijNgFs4MACBhxqITxdVrxBSdpjG/Us X+3ZgdkfH4hKn2Qo31BvdhxA137R/8TozGcN3kBjbszqGeV18BWS6BQTd3KJskuSxB9o 3Z6FttfjoUPn+2r2VCJjRJX4rtgj+lkXYXZC4QxxZEyOlRFuKNyl3y8dMVfld0aTMGP9 Qo+haiI8XbA9rgrCxQUkW3r600Icdr72FPOKha2k3gy9Uq4FFmAFea0AOc8UczuPGK+/ O8oJpl5hEqCfszhVsM9DIHObS1gGEcnBlghWwysG1kPOEmENCv4yjfLMhIQP+lKdMdt2 qoZw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=GsOUHEkg; 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 k70si5841530pgd.75.2019.04.08.05.18.56; Mon, 08 Apr 2019 05:19:12 -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=GsOUHEkg; 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 S1726705AbfDHMSN (ORCPT + 99 others); Mon, 8 Apr 2019 08:18:13 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:39542 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726530AbfDHMSK (ORCPT ); Mon, 8 Apr 2019 08:18:10 -0400 Received: by mail-wm1-f68.google.com with SMTP id n25so14447537wmk.4 for ; Mon, 08 Apr 2019 05:18:09 -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=GsOUHEkgKUmpMV0FVrA2lW8sTwQgov5Qlw2IShucdpSrVtORe+Tdp0qCY8kNMrXiqM UcxRR4+ljsvh7ubYmA9yTpm3oC7+Et9xO/Bd3kJV9VvbwiMsb1/DCerUbV0BAkAFLxHk QTCzgv4vD4249gqUeadn4jCsWT+iA4fb3qiKAboSKqvseCSBHXpKsWwxHfmf2QF9eOOq yaD94ct997yZpqHhsfG0enQuiY+i8cesScDZyYhDFlLlk3ZgRouRp7i8t44H14l5nEWv NJPYsHeEexnOz4TrfnHVsvjxfWGuYqLDV9x9x0nyWrjADrgFqMCPh3+Yb+OqeSM8xcNQ D2ag== 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=ExqVuaOolAGEjRDkPiwmmOzaSvRlsgXCVDU5lzcgSmlKCXCM3jyyCJmf5vOgin7Q9G wNeIX+O6Wue9l27IgU3nunbEcGE3S6sAPie7Y5+iECO24r6eetVlYHmcjHxkETnPcf0l IaP/O+HZw6hQOGT2bV/sFbMKzVJkx+QXdMxkUJYfs9l9RiZ4sERdFwnDhYYFGCnWL4lD VHBcbtc0qvw5JgPD2p0Z0Qo/JQXyIRi9Qtno9TMOIATLVQklsAIeIgXiBNiID9sguxTp fcAIr+M/DOi/rdwYaQmEYla5rC8Qokvdcnab4hDCUo0JQwcW77rRn/+1Qfv4VSCkOISs gOWA== X-Gm-Message-State: APjAAAWya1fEv5DXsuW18nfxINxfW0CdpEZEY+qRMU+z/cNE0DoR+YYk XB6DOC+3dD14j7fJgtyInqcbPw== X-Received: by 2002:a1c:a711:: with SMTP id q17mr17951855wme.111.1554725888769; Mon, 08 Apr 2019 05:18:08 -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 e1sm52865103wrw.66.2019.04.08.05.18.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 08 Apr 2019 05:18:07 -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 v4 1/3] media: dt-bindings: media: meson-ao-cec: Add G12A AO-CEC-B Compatible Date: Mon, 8 Apr 2019 14:18:03 +0200 Message-Id: <20190408121805.2870-2-narmstrong@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190408121805.2870-1-narmstrong@baylibre.com> References: <20190408121805.2870-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