From patchwork Sat Apr 14 09:44:58 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 10340941 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 D4E4B60329 for ; Sat, 14 Apr 2018 09:45:11 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id B4B4528948 for ; Sat, 14 Apr 2018 09:45:11 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 9498D289B6; Sat, 14 Apr 2018 09:45:11 +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=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id A1D5C28948 for ; Sat, 14 Apr 2018 09:45:10 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1750944AbeDNJpI (ORCPT ); Sat, 14 Apr 2018 05:45:08 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:39203 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750883AbeDNJpH (ORCPT ); Sat, 14 Apr 2018 05:45:07 -0400 Received: by mail-lf0-f67.google.com with SMTP id p142-v6so15727832lfd.6 for ; Sat, 14 Apr 2018 02:45:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=5VSV/HiZQjakxN/4N7VyPrIFF4kE/yVYzC0FN/c6jtk=; b=MHk5do9FWE81834NougNHSbhX8Lfu1DExp2JIQe4k7k1ClMFyd8pVuh/0zOrsKMdVx xMoUzvavY++e/Fo+IizxiwnyQpTS9jqlc/QquFZsPMX0zCmW1PqzLkB+UdT2TDAfkwYV dQpbQB4/N2MyaLdMXW29P9wQS7puJ6SD31jOo= 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=5VSV/HiZQjakxN/4N7VyPrIFF4kE/yVYzC0FN/c6jtk=; b=uELGa2XkDqjeP+Nz/e4Zn2NYAwMYbUFZ7YE/uEOiZoyNUE7xyGkna8rMF/Pg61hCpR C0QRkB9KqoFZiaqEwDzyKsf5H44QobviGFFkgIc6wfTRVn/hsbzWdMkPnxhVDqF1HXD6 CpUdsNaqCf6lte8ES7Kqi54UlN8tMExR0svLGz6ZlLe0NdhxKbTni1goEv9c2XsrwTPt 3kRa9sJoH2q5G9r2M3xCKPt4cYWXPjkjQldGHw2zS7TvKNW6wGVjOtlHk74Ka0JmFnfN JMPaNsT0ipTwgqPPXx53Id0SCN00wnn/xTUx/b7YMpR281MPoygyvIxlxq0qJHv5Sdaj m+Iw== X-Gm-Message-State: ALQs6tAIoNNXBE+PIm0eRh2MmnV8xu95e85oIcGtENFEdWOTAzlj2JbA Y4VrcCO9ccEhwBxCE/m18iQAis3jM98= X-Google-Smtp-Source: AIpwx49NokNHgBLRArOHTNySawHxBQvgCcR7Xr3Sf7V630G9l0Ouht4zd0WTIRu+KRhhDHwwNZ0vqQ== X-Received: by 10.46.65.210 with SMTP id d79mr5136486ljf.80.1523699106230; Sat, 14 Apr 2018 02:45:06 -0700 (PDT) Received: from localhost.localdomain ([217.76.205.193]) by smtp.gmail.com with ESMTPSA id z189-v6sm1684707lfa.18.2018.04.14.02.45.04 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 14 Apr 2018 02:45:05 -0700 (PDT) From: Linus Walleij To: linux-gpio@vger.kernel.org Cc: Linus Walleij , Hans Verkuil , linux-media@vger.kernel.org Subject: [PATCH] gpio: Add a reference to CEC on GPIO Date: Sat, 14 Apr 2018 11:44:58 +0200 Message-Id: <20180414094458.5700-1-linus.walleij@linaro.org> X-Mailer: git-send-email 2.14.3 Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP This adds a pointer to the CEC GPIO driver from the GPIO list of examples of drivers on top of GPIO. Cc: Hans Verkuil Cc: linux-media@vger.kernel.org Signed-off-by: Linus Walleij Acked-by: Hans Verkuil --- Documentation/driver-api/gpio/drivers-on-gpio.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Documentation/driver-api/gpio/drivers-on-gpio.rst b/Documentation/driver-api/gpio/drivers-on-gpio.rst index 7da0c1dd1f7a..f3a189320e11 100644 --- a/Documentation/driver-api/gpio/drivers-on-gpio.rst +++ b/Documentation/driver-api/gpio/drivers-on-gpio.rst @@ -85,6 +85,10 @@ hardware descriptions such as device tree or ACPI: any other serio bus to the system and makes it possible to connect drivers for e.g. keyboards and other PS/2 protocol based devices. +- cec-gpio: drivers/media/platform/cec-gpio/ is used to interact with a CEC + Consumer Electronics Control bus using only GPIO. It is used to communicate + with devices on the HDMI bus. + Apart from this there are special GPIO drivers in subsystems like MMC/SD to read card detect and write protect GPIO lines, and in the TTY serial subsystem to emulate MCTRL (modem control) signals CTS/RTS by using two GPIO lines. The