Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp912134imm; Thu, 4 Oct 2018 05:30:28 -0700 (PDT) X-Google-Smtp-Source: ACcGV63SXuY5xTPKFElJJBNucxxuluP6kkZ//LITrrXZMCzKMiD1sgDVllKjwtpn9zTQwmG+jWzr X-Received: by 2002:a62:da03:: with SMTP id c3-v6mr6709470pfh.52.1538656228106; Thu, 04 Oct 2018 05:30:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538656228; cv=none; d=google.com; s=arc-20160816; b=KtOxWevnzstiI6S/R4nxJ/wjNzgSmEEKS7f66QIt0Hi2Xh/xBzjFFtxNOhL6czvJ/O BG7nX/YUXxZ7xL6RfOfP57atXcceMg3db/TBehy1ePssX0UkTc8Ymw+OPpbafe877tSb ehZV8cEUOLKb8AY1akOC4s6YXkrE6xiTs/Urtb2/s9Ap0r8Kk6n1grshiBSL4VfsGCFL lwRYnI9MvzfPQsuZkD8lu4SV83VXuGecpXGU1cMU9A3m/1aAMOhBgxAiApsTST7tGMkX k1S+y1WXCeSibIOOdAtDkqUtuvRoSuZs1T51MSaTBhYgOSpWrHg94Hsr3GuXYgKnCyWF wxlA== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:autocrypt:openpgp:from:references:cc:to :subject:dkim-signature; bh=B5186SVMAOQUdhXc9tjjtbQH53inOiu9dfjeHDeBOl4=; b=SlGaMDINXxt3KLGBtJtb7gPN09iNr3pC45dW3I1BcuzO7Ds4MfAnMpx41ZS8Q4pz94 bjEr2L9B6K57n4HvCHCEB9nv+SvnarRHfqZGIuzqJt1sAGQzHoeVdwGpv2H2rdCqTaFZ Z6n8MJZcgBJsy2RLf0rk75L6CMKGxPs/8offjOBth5jJNl7EOtE9bPpwvZVbBm0iB5Ds rmh5d5Ep9oIbraKgPt5tVZkItz4yoFFkI1wBk6cdL7NFQeCnaB9NwFqbYBuUNwtW2E1i Qf2o8CDjaE+VTjgioD3/wDy58TevrXetrgtY29wEco+uMO6CmB6Jd2fnKed0Mi/QhSC4 lMCQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=MBB2AOC1; 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 3-v6si5232366pln.324.2018.10.04.05.30.11; Thu, 04 Oct 2018 05:30:28 -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=MBB2AOC1; 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 S1727655AbeJDTWl (ORCPT + 99 others); Thu, 4 Oct 2018 15:22:41 -0400 Received: from mail-wm1-f68.google.com ([209.85.128.68]:34185 "EHLO mail-wm1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727369AbeJDTWl (ORCPT ); Thu, 4 Oct 2018 15:22:41 -0400 Received: by mail-wm1-f68.google.com with SMTP id z25-v6so1463614wmf.1 for ; Thu, 04 Oct 2018 05:29:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:openpgp:autocrypt:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=B5186SVMAOQUdhXc9tjjtbQH53inOiu9dfjeHDeBOl4=; b=MBB2AOC1lyQD/xK65c3sPaWZmjRi8wmOhaoPRUm+COOrlX3g7oKOF/kdwtIpm5BoWf /V8eMACExBKpUGQWR7UxmGbjzh+OPfHphEa1+MbUaKroxnFYqNatpfckujq91dYj1PAO 0yMhT1G5kQsWw/1VCTs5y2UdUAFyflHs53WAKsnQCPT5GIUOuUURrR3UlCe+ekvb2M4o +Uh/FUXLAcIv1u0Nn6GwXN3Zznq7ZvDSA7gHhJa05pREmHvd6BHtDmf3cimK7MRbY/Ls 5ABX0JBhHn05T0en+Sj/JPcHoeHFoD79XPSq+4AEScIy1UwMxPhi9bPihH1lm+OBTG2F hLwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=B5186SVMAOQUdhXc9tjjtbQH53inOiu9dfjeHDeBOl4=; b=hnNfzL8/JwqvnrC9y7b/mbOGsdjZXOC5xJL6wIEBOQ3lhlacAnfRFRmLcpA+4ucY4N jK1Mp6jenfSWsusYauZGq2lhjOQ76AtzK9dPL44GhbuEenjAWIZSOEts+MvS4wW/F1GQ qmtB0/wwQCjotDzHc5Oej9N9Gqqp0vHpqc35Y0e2cWiXTo49/sWmtAOSDLmC0u3pRYbG H89QCwpVN3/CJABz13T2CWvAiwarMYv1uDeFaFyRq9NG0uxrbkxAhUK/GC3WDCSfDIvm yqoKASw/7P+6CNyQukb4S2vuzFqfmq82unap6WlCqkhyVkDaifjeL5xCeGWMzlQkjM0B ZlyQ== X-Gm-Message-State: ABuFfog6UKmzr1Itls+c9BQvQlgJ+Rc3LsC7qVMYP3jju5sW7DNpVwE9 w4b0YFrvjp2PwXpH2xGrsyb86Q== X-Received: by 2002:a1c:a696:: with SMTP id p144-v6mr4643599wme.14.1538656175325; Thu, 04 Oct 2018 05:29:35 -0700 (PDT) Received: from ?IPv6:2a01:e34:eeb6:4690:3412:2a4:3cc3:ee11? ([2a01:e34:eeb6:4690:3412:2a4:3cc3:ee11]) by smtp.gmail.com with ESMTPSA id s10-v6sm6875984wmd.22.2018.10.04.05.29.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 Oct 2018 05:29:34 -0700 (PDT) Subject: Re: [PATCH 0/2] Add SECO Boards CEC device driver To: ektor5 Cc: hverkuil@xs4all.nl, luca.pisani@udoo.org, jose.abreu@synopsys.com, sean@mess.org, sakari.ailus@linux.intel.com, Mauro Carvalho Chehab , Greg Kroah-Hartman , "David S. Miller" , Andrew Morton , Arnd Bergmann , Hans Verkuil , Laurent Pinchart , Geert Uytterhoeven , Jacob Chen , Todor Tomov , Kate Stewart , Jacopo Mondi , linux-kernel@vger.kernel.org, linux-media@vger.kernel.org References: From: Neil Armstrong Openpgp: preference=signencrypt Autocrypt: addr=narmstrong@baylibre.com; prefer-encrypt=mutual; keydata= xsBNBE1ZBs8BCAD78xVLsXPwV/2qQx2FaO/7mhWL0Qodw8UcQJnkrWmgTFRobtTWxuRx8WWP GTjuhvbleoQ5Cxjr+v+1ARGCH46MxFP5DwauzPekwJUD5QKZlaw/bURTLmS2id5wWi3lqVH4 BVF2WzvGyyeV1o4RTCYDnZ9VLLylJ9bneEaIs/7cjCEbipGGFlfIML3sfqnIvMAxIMZrvcl9 qPV2k+KQ7q+aXavU5W+yLNn7QtXUB530Zlk/d2ETgzQ5FLYYnUDAaRl+8JUTjc0CNOTpCeik 80TZcE6f8M76Xa6yU8VcNko94Ck7iB4vj70q76P/J7kt98hklrr85/3NU3oti3nrIHmHABEB AAHNKE5laWwgQXJtc3Ryb25nIDxuYXJtc3Ryb25nQGJheWxpYnJlLmNvbT7CwHsEEwEKACUC GyMGCwkIBwMCBhUIAgkKCwQWAgMBAh4BAheABQJXDO2CAhkBAAoJEBaat7Gkz/iubGIH/iyk RqvgB62oKOFlgOTYCMkYpm2aAOZZLf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Baylibre Message-ID: <757ab7a8-4bb2-4573-5870-eae2b9745650@baylibre.com> Date: Thu, 4 Oct 2018 14:29:32 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Ettore, On 02/10/2018 18:59, ektor5 wrote: > This series of patches aims to add CEC functionalities to SECO > devices, in particular UDOO X86. > > The communication is achieved via Braswell SMBus (i2c-i801) to the > onboard STM32 microcontroller that handles the CEC signals. The driver > use direct access to the PCI addresses, due to the limitations of the > specific driver in presence of ACPI calls. > > The basic functionalities are tested with success with cec-ctl and > cec-compliance. Glad to see another user of the i915 cec notifier ! Neil > > Ettore Chimenti (2): > media: add SECO cec driver > seco-cec: add Consumer-IR support > > MAINTAINERS | 6 + > drivers/media/platform/Kconfig | 21 + > drivers/media/platform/Makefile | 4 + > drivers/media/platform/seco-cec/Makefile | 1 + > drivers/media/platform/seco-cec/seco-cec.c | 859 +++++++++++++++++++++ > drivers/media/platform/seco-cec/seco-cec.h | 143 ++++ > 6 files changed, 1034 insertions(+) > create mode 100644 drivers/media/platform/seco-cec/Makefile > create mode 100644 drivers/media/platform/seco-cec/seco-cec.c > create mode 100644 drivers/media/platform/seco-cec/seco-cec.h >