[{"id":1761038,"web_url":"http://patchwork.ozlabs.org/comment/1761038/","msgid":"<CACRpkdYQSYMQHgrOimV6iVRdrjhAXvXdzsfnNr8abykOyZP8yw@mail.gmail.com>","list_archive_url":null,"date":"2017-08-31T14:10:38","subject":"Re: [PATCHv4 4/5] cec-gpio: add HDMI CEC GPIO driver","submitter":{"id":7055,"url":"http://patchwork.ozlabs.org/api/people/7055/","name":"Linus Walleij","email":"linus.walleij@linaro.org"},"content":"On Thu, Aug 31, 2017 at 1:01 PM, Hans Verkuil <hverkuil@xs4all.nl> wrote:\n\n> From: Hans Verkuil <hans.verkuil@cisco.com>\n>\n> Add a simple HDMI CEC GPIO driver that sits on top of the cec-pin framework.\n>\n> While I have heard of SoCs that use the GPIO pin for CEC (apparently an\n> early RockChip SoC used that), the main use-case of this driver is to\n> function as a debugging tool.\n>\n> By connecting the CEC line to a GPIO pin on a Raspberry Pi 3 for example\n> it turns it into a CEC debugger and protocol analyzer.\n>\n> With 'cec-ctl --monitor-pin' the CEC traffic can be analyzed.\n>\n> But of course it can also be used with any hardware project where the\n> HDMI CEC line is hooked up to a pull-up gpio line.\n>\n> In addition this has (optional) support for tracing HPD changes if the\n> HPD is connected to a GPIO.\n>\n> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>\n\nThis looks nice!\nReviewed-by: Linus Walleij <linus.walleij@linaro.org>\n\nYours,\nLinus Walleij\n--\nTo unsubscribe from this list: send the line \"unsubscribe devicetree\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html","headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":["ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","ozlabs.org;\n\tdkim=fail reason=\"signature verification failed\" (1024-bit key;\n\tunprotected) header.d=linaro.org header.i=@linaro.org\n\theader.b=\"as4+/U6M\"; dkim-atps=neutral"],"Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjkml13Sgz9sD5\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 00:10:47 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751323AbdHaOKl (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tThu, 31 Aug 2017 10:10:41 -0400","from mail-oi0-f53.google.com ([209.85.218.53]:34933 \"EHLO\n\tmail-oi0-f53.google.com\" rhost-flags-OK-OK-OK-OK) by vger.kernel.org\n\twith ESMTP id S1751317AbdHaOKk (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Thu, 31 Aug 2017 10:10:40 -0400","by mail-oi0-f53.google.com with SMTP id k77so6394883oib.2\n\tfor <devicetree@vger.kernel.org>;\n\tThu, 31 Aug 2017 07:10:39 -0700 (PDT)","by 10.157.58.74 with HTTP; Thu, 31 Aug 2017 07:10:38 -0700 (PDT)"],"DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google;\n\th=mime-version:in-reply-to:references:from:date:message-id:subject:to\n\t:cc; bh=dsHSKC0QP4TPJG+Buchg2TjhRtAdIzJsnLjLSirqjNg=;\n\tb=as4+/U6MkdlGAY/WBwQeHNLzH2hNmvAbP9oTEE00rWmf0LSHejmoFqSywHv2KQDrBW\n\tjQ+9isTay1A01QWCYI1V+IhYPTHqS9f5qa+N8Lv8VymLMrjhPCGBFcOtVPm13RB+UrE5\n\tM1Ma3r0c6wo56G4TK2A9Lv6FRyyfKKBzw+1hA=","X-Google-DKIM-Signature":"v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:mime-version:in-reply-to:references:from:date\n\t:message-id:subject:to:cc;\n\tbh=dsHSKC0QP4TPJG+Buchg2TjhRtAdIzJsnLjLSirqjNg=;\n\tb=l+WLREFlAEIpIw7Cd3U8OUAffb/b6SLtRsVM4j/pLfWzuuMAbN5bfYV35IpVx1AKws\n\tp73t4C5Tym+LkmA6reV6/NBwSvasEjILmuxKAMdwVlkxaJnzWKwZJBh72sYOEDE/tV9X\n\tnA86SSeEr+Xb6zJM1FfVPsVVXLRuNWurxOHCC1gDb1CobZtkdOLrASfSUhRnDYShgD9A\n\tmOU4/nxSAQg04q+AA5BWToGych7+AK3PS6Skq08Chdb5CiUkgxcl8TrW4zfKTSdoOvM+\n\tWAaiYjCGALVGqN/KXDP0jKH2H97JdXcUQoLSXwVJcGc+jhru+hg1Ov4iF9RB9yvKUKEr\n\t9j7g==","X-Gm-Message-State":"AHYfb5jNb3XjBtwsx9/W8sCKWAmjzbNrwCzhINYrl4b3sfX9FERUFNfp\n\te4h0zB+l+PSRjHsOjaNRNIre36AcxlUx","X-Google-Smtp-Source":"ADKCNb6XKG6xXqU/w6+uGmECZQrWvuUFFyA4NY6NqfCrbNM4q+H1K4SkyfxmQjMnoQDe55vt+vTjECAKkwfNvMLjrcI=","X-Received":"by 10.202.78.78 with SMTP id c75mr5523536oib.53.1504188639432;\n\tThu, 31 Aug 2017 07:10:39 -0700 (PDT)","MIME-Version":"1.0","In-Reply-To":"<20170831110156.11018-5-hverkuil@xs4all.nl>","References":"<20170831110156.11018-1-hverkuil@xs4all.nl>\n\t<20170831110156.11018-5-hverkuil@xs4all.nl>","From":"Linus Walleij <linus.walleij@linaro.org>","Date":"Thu, 31 Aug 2017 16:10:38 +0200","Message-ID":"<CACRpkdYQSYMQHgrOimV6iVRdrjhAXvXdzsfnNr8abykOyZP8yw@mail.gmail.com>","Subject":"Re: [PATCHv4 4/5] cec-gpio: add HDMI CEC GPIO driver","To":"Hans Verkuil <hverkuil@xs4all.nl>","Cc":"\"linux-media@vger.kernel.org\" <linux-media@vger.kernel.org>,\n\t\"open list:DRM PANEL DRIVERS\" <dri-devel@lists.freedesktop.org>,\n\t\"devicetree@vger.kernel.org\" <devicetree@vger.kernel.org>,\n\tHans Verkuil <hans.verkuil@cisco.com>","Content-Type":"text/plain; charset=\"UTF-8\"","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"}},{"id":1761044,"web_url":"http://patchwork.ozlabs.org/comment/1761044/","msgid":"<7a7ad8d3-a52a-de47-4f50-62cd64aa52e3@xs4all.nl>","list_archive_url":null,"date":"2017-08-31T14:19:17","subject":"Re: [PATCHv4 4/5] cec-gpio: add HDMI CEC GPIO driver","submitter":{"id":723,"url":"http://patchwork.ozlabs.org/api/people/723/","name":"Hans Verkuil","email":"hverkuil@xs4all.nl"},"content":"On 31/08/17 16:10, Linus Walleij wrote:\n> On Thu, Aug 31, 2017 at 1:01 PM, Hans Verkuil <hverkuil@xs4all.nl> wrote:\n> \n>> From: Hans Verkuil <hans.verkuil@cisco.com>\n>>\n>> Add a simple HDMI CEC GPIO driver that sits on top of the cec-pin framework.\n>>\n>> While I have heard of SoCs that use the GPIO pin for CEC (apparently an\n>> early RockChip SoC used that), the main use-case of this driver is to\n>> function as a debugging tool.\n>>\n>> By connecting the CEC line to a GPIO pin on a Raspberry Pi 3 for example\n>> it turns it into a CEC debugger and protocol analyzer.\n>>\n>> With 'cec-ctl --monitor-pin' the CEC traffic can be analyzed.\n>>\n>> But of course it can also be used with any hardware project where the\n>> HDMI CEC line is hooked up to a pull-up gpio line.\n>>\n>> In addition this has (optional) support for tracing HPD changes if the\n>> HPD is connected to a GPIO.\n>>\n>> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>\n> \n> This looks nice!\n> Reviewed-by: Linus Walleij <linus.walleij@linaro.org>\n\nThank you for the gpio crash course! :-)\n\n\tHans\n\n--\nTo unsubscribe from this list: send the line \"unsubscribe devicetree\" in\nthe body of a message to majordomo@vger.kernel.org\nMore majordomo info at  http://vger.kernel.org/majordomo-info.html","headers":{"Return-Path":"<devicetree-owner@vger.kernel.org>","X-Original-To":"incoming-dt@patchwork.ozlabs.org","Delivered-To":"patchwork-incoming-dt@bilbo.ozlabs.org","Authentication-Results":"ozlabs.org;\n\tspf=none (mailfrom) smtp.mailfrom=vger.kernel.org\n\t(client-ip=209.132.180.67; helo=vger.kernel.org;\n\tenvelope-from=devicetree-owner@vger.kernel.org; receiver=<UNKNOWN>)","Received":["from vger.kernel.org (vger.kernel.org [209.132.180.67])\n\tby ozlabs.org (Postfix) with ESMTP id 3xjkyh2jz6z9sD5\n\tfor <incoming-dt@patchwork.ozlabs.org>;\n\tFri,  1 Sep 2017 00:19:24 +1000 (AEST)","(majordomo@vger.kernel.org) by vger.kernel.org via listexpand\n\tid S1751463AbdHaOTU (ORCPT\n\t<rfc822;incoming-dt@patchwork.ozlabs.org>);\n\tThu, 31 Aug 2017 10:19:20 -0400","from lb1-smtp-cloud9.xs4all.net ([194.109.24.22]:40085 \"EHLO\n\tlb1-smtp-cloud9.xs4all.net\" rhost-flags-OK-OK-OK-OK)\n\tby vger.kernel.org with ESMTP id S1751392AbdHaOTT (ORCPT\n\t<rfc822; devicetree@vger.kernel.org>); Thu, 31 Aug 2017 10:19:19 -0400","from [192.168.1.10] ([80.101.105.217])\n\tby smtp-cloud9.xs4all.net with ESMTPA\n\tid nQJRdXV8wdRLjnQJSdIGXa; Thu, 31 Aug 2017 16:19:18 +0200"],"Subject":"Re: [PATCHv4 4/5] cec-gpio: add HDMI CEC GPIO driver","To":"Linus Walleij <linus.walleij@linaro.org>","References":"<20170831110156.11018-1-hverkuil@xs4all.nl>\n\t<20170831110156.11018-5-hverkuil@xs4all.nl>\n\t<CACRpkdYQSYMQHgrOimV6iVRdrjhAXvXdzsfnNr8abykOyZP8yw@mail.gmail.com>","Cc":"\"linux-media@vger.kernel.org\" <linux-media@vger.kernel.org>,\n\t\"open list:DRM PANEL DRIVERS\" <dri-devel@lists.freedesktop.org>,\n\t\"devicetree@vger.kernel.org\" <devicetree@vger.kernel.org>,\n\tHans Verkuil <hans.verkuil@cisco.com>","From":"Hans Verkuil <hverkuil@xs4all.nl>","Message-ID":"<7a7ad8d3-a52a-de47-4f50-62cd64aa52e3@xs4all.nl>","Date":"Thu, 31 Aug 2017 16:19:17 +0200","User-Agent":"Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101\n\tThunderbird/45.7.1","MIME-Version":"1.0","In-Reply-To":"<CACRpkdYQSYMQHgrOimV6iVRdrjhAXvXdzsfnNr8abykOyZP8yw@mail.gmail.com>","Content-Type":"text/plain; charset=utf-8","Content-Transfer-Encoding":"7bit","X-CMAE-Envelope":"MS4wfLdBQoViyXwOSiK1tMrIeFZYgyKo5IHeHLGa60qpnOejbELOag3K2HuEiniL5kcBNsRG+Wsd33evYDhuE/iqb1IgJvNnMAugxZHH6Hc2pQIR4q6Esjcs\n\t8BhgWKFitC9AeF9lphnRNoCT+J9sJs8Eb4gNuWUfua9FuQHIBVEO5v5vWnBVopfybFKuL1gB0F/FJA4h4FjkTCD74x7lJEsrQeHVdHFnd7YNa8yNqyTa3dMY\n\tJ/CZTs16Pn9J03V3VsQqNHRvyuqVIW8PW1S7ndd9JeWepSQn+oQ5KUV7Edv6mOlTWb3sybCCiNbE3TlRySzmHLel9htLL/IVrrQ5Rh9LDBQ=","Sender":"devicetree-owner@vger.kernel.org","Precedence":"bulk","List-ID":"<devicetree.vger.kernel.org>","X-Mailing-List":"devicetree@vger.kernel.org"}}]