From patchwork Thu Dec 12 14:59:22 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guillaume LA ROQUE X-Patchwork-Id: 11288527 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 938CE138D for ; Thu, 12 Dec 2019 14:59:33 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 70FAB2253D for ; Thu, 12 Dec 2019 14:59:33 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="lwAA6siA"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=baylibre-com.20150623.gappssmtp.com header.i=@baylibre-com.20150623.gappssmtp.com header.b="swMATU3v" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 70FAB2253D Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=baylibre.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org 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: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:In-Reply-To: References:List-Owner; bh=jgabCgBk7sOZT8xWRaW5hm3HhcJee17VS8GrpKDb4G8=; b=lwA A6siASIIA7jSmvKV7i9NNmckyUvR1vE/cQlUKN7QxU6opfnGcs60v0JfYhP6qpBXb5YUNn+2Z19Df dKLGKcKFjo3GcavhR27ayhdbV2GgnuqxdqafBru30FtVCveLiq/Rd6huRSxxfhG4B08TnGyICO/+F 1XdfiyXklPtxekjyIK0wofCU9ZAVhwstg7miOQG+2XUYi3/ytFmPjjQIz5OvO4OtUfY5Kjr5jkKg8 qJGMnfL+/ZAzgbHOeN0yoVLBX7j8bnzJlFG8GOP6L7fGfRFvSAJ/4nLlRfv8aK7IUHS1pFn7yVHzU z9Eoi/MYpAIBfAGeaz7+nEDjqxwp+sQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1ifPwC-00066K-AE; Thu, 12 Dec 2019 14:59:32 +0000 Received: from mail-wm1-x341.google.com ([2a00:1450:4864:20::341]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1ifPw9-000653-97 for linux-arm-kernel@lists.infradead.org; Thu, 12 Dec 2019 14:59:30 +0000 Received: by mail-wm1-x341.google.com with SMTP id p17so2866347wma.1 for ; Thu, 12 Dec 2019 06:59:28 -0800 (PST) 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; bh=Q8cDD1h6Kbt+wm67+7ymZTLscWfxx20xc71x85bi1V8=; b=swMATU3v8KmM1+9GIdXKQR6jSiOWRMCOPd5Xl01rpFArfJ3XAfwd8XMvQ1jGf7EYvH S7MyPMiaWUjl2NpRaTx0B/o0QlP/ReDBkqJZ494uKUJZM04o8MM4jHdRMtaA9rGbcxH5 md7ZfDoyr0+K5+Ds4FRCXnDr05l58y/YgLN/xVSuCdUTQ6J3M0y9atPTykJGq013MPKy taPvYnxGEb/o4PfaH6zsEyDl7nndMkomGvzcJKRL7jDZPI79kpFik1saoJHdGqJNgh+u lyqOOG8mSXuI/iktQ2xEuGxTypgZB83oAz+GqolP2EGv77BXqSSbpi/2IpH756bGcB87 2MtQ== 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; bh=Q8cDD1h6Kbt+wm67+7ymZTLscWfxx20xc71x85bi1V8=; b=dcvlYIxWarjUzKQsaLeduz4+KTdcbyoBsp7Ztk78bjiObnAltDjzSfJwL1aLLjQA0W nI07F1fbFsakbubm7OoljS6tehfKheCu89KBM7NgE7xzzPy0RLKBoHpIiuN4bf2HNSlT hpNBd2dkO/wzcqRg94xyIz6EG8wsX9aaVrG4tYYbJ07STsCxDA0pkASpiYu2VJjZuMzq UYo+5MP47fH+/IAzZGrT7f8A8tuUoLgH9W7Hx4dDZ5gNt+74wg7rpgoaPccKbG3nsFhh y4ptk/qtgI67mgIyegc47envsE8HvAiDyqAS2ai4ZiVkTDJkiEsedle5cCpqKLIUy0yn thjg== X-Gm-Message-State: APjAAAWhF2Lcu2lpSqGOiegIe0S7be9Bi/T6cp1LxPjk8bJkudyams2h 0v8LnbfYVbPmgc1trPEP4mPlsw== X-Google-Smtp-Source: APXvYqxQvIfo9ValD2pZteRv78WUJy9Ja4QFpldqUrLBkg8LV7Tf3HWrTT9klIIijQsPl9BRZGoXrA== X-Received: by 2002:a1c:1987:: with SMTP id 129mr6978284wmz.112.1576162767185; Thu, 12 Dec 2019 06:59:27 -0800 (PST) Received: from glaroque-ThinkPad-T480.baylibre.local (laubervilliers-658-1-213-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.gmail.com with ESMTPSA id h8sm6670292wrx.63.2019.12.12.06.59.26 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 12 Dec 2019 06:59:26 -0800 (PST) From: Guillaume La Roque To: narmstrong@baylibre.com, mchehab@kernel.org, hverkuil-cisco@xs4all.nl, khilman@baylibre.com, devicetree@vger.kernel.org Subject: [PATCH 0/3] Add support of CEC wakeup on Amlogic G12 and SM1 SoCs Date: Thu, 12 Dec 2019 15:59:22 +0100 Message-Id: <20191212145925.32123-1-glaroque@baylibre.com> X-Mailer: git-send-email 2.17.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20191212_065929_344252_C815D445 X-CRM114-Status: UNSURE ( 7.92 ) X-CRM114-Notice: Please train this message. X-Spam-Score: 0.0 (/) X-Spam-Report: SpamAssassin version 3.4.2 on bombadil.infradead.org summary: Content analysis details: (0.0 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at https://www.dnswl.org/, no trust [2a00:1450:4864:20:0:0:0:341 listed in] [list.dnswl.org] 0.0 SPF_HELO_NONE SPF: HELO does not publish an SPF Record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.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 this patchset add support of CEC wakeup. We need to set logical address and activate some options in registers before going in suspend. Registers address and options values come from amlogic driver. Guillaume La Roque (3): media: dt-bindings: media: meson-ao-cec: Add support of ao-sysctrl syscon arm64: dts: meson-g12g12: add syscon phandle in cec node media: platform: meson-ao-cec-g12a: add wakeup support .../media/amlogic,meson-gx-ao-cec.yaml | 4 +++ .../boot/dts/amlogic/meson-g12-common.dtsi | 1 + drivers/media/platform/meson/ao-cec-g12a.c | 33 +++++++++++++++++++ 3 files changed, 38 insertions(+) Tested-by: Kevin Hilman