From patchwork Thu Dec 26 12:02:20 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Shawn Guo X-Patchwork-Id: 182454 Delivered-To: patch@linaro.org Received: by 2002:a92:815a:0:0:0:0:0 with SMTP id e87csp1620425ild; Thu, 26 Dec 2019 04:02:36 -0800 (PST) X-Google-Smtp-Source: APXvYqytMcXPm3CSyIfKBdSdwrzdrMY/isqEQwz13uudg5SJjdCn/bzPs/RaVoj2lsoYbsM7mi7c X-Received: by 2002:aca:c786:: with SMTP id x128mr1688757oif.2.1577361756642; Thu, 26 Dec 2019 04:02:36 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1577361756; cv=none; d=google.com; s=arc-20160816; b=aagJPPqH+FPNHu6/i+O2zD9+ZP/4JXW8oqwYopA0IDzrRf7UuQ2ZZrdPOiCuVMjtV7 Reu1j5vDPYrGUtDyYUD+gBg/N877ns9zBdSLe6cOLq6YLQC8l8SBitWfj9MP/iwqvBcf 30KzsOCYUV7DpH2//0I9iEMUVcciel7/B0pXyj24mkwsgXBgeAD1430qd2v1t8uWPSOR BmrhRHt1lHA/QKZonZ9EHq+IX5PTDjaY8lCqkP/XLy+/XgW2me+oNp86LguknrUe2LiX 3idtoZLar/zP1cmNOT4Lam+KjZGT59fFiyUCd/2p34Pqp3oEJA4HU0XswgGgNadG+CYi +zOg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=vHKZv7fRGXSUh6kdNtwxv1OtN8QkhArCYAfsTNp+448=; b=DhKNV+jw6IktDq89gSJwI+vcXkV04cCJYoeLATTWNETD6cLT9fKueky2BjWLeWi94g jLkMp5n5XzcFa4xwJMGIST5xARY0ZhCVHSRb2tW/7I6MzuLOfvKq6+Fo/dNQtPFEu0/r YggoFxXwS6YzMABTWF+0qjYSVzmeViq9eylAIXwNmyx6oYDRBZwPXicGKpiALST+UQEK ncjmrr40DVaRnINJ8iM7PnV+JsIijvYkpQajav0PpmSiwxjZ1f1nFpBBtnraRtoFHb0b HHpoedsvRohUhimt+p1S2e2KdbsSYuoYHeGbvDSGji+7xD2u6M2+ZgAdgUYljGZWu3mJ CuGw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id m67si14475365oib.117.2019.12.26.04.02.36; Thu, 26 Dec 2019 04:02:36 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of devicetree-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=devicetree-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726060AbfLZMCf (ORCPT + 8 others); Thu, 26 Dec 2019 07:02:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:40958 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726055AbfLZMCf (ORCPT ); Thu, 26 Dec 2019 07:02:35 -0500 Received: from localhost (98.142.130.235.16clouds.com [98.142.130.235]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 3E0932075E; Thu, 26 Dec 2019 12:02:34 +0000 (UTC) From: Shawn Guo To: Mauro Carvalho Chehab Cc: Rob Herring , Jun Nie , devicetree@vger.kernel.org, linux-media@vger.kernel.org, Shawn Guo Subject: [PATCH 0/2] Add IR support for Hi3796CV300 SoC Date: Thu, 26 Dec 2019 20:02:20 +0800 Message-Id: <20191226120222.14745-1-shawn.guo@linaro.org> X-Mailer: git-send-email 2.17.1 Sender: devicetree-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org The IR device on Hi3796CV300 SoC is mostly same as hix5hd2, except the following two things. - IR_CLK offset is 0x60 instead of 0x48. - It needs to set an extra bit in IR_ENABLE register to enable IR. The series adds a new compatible for Hi3796CV300 IR device and update ir-hix5hd2 driver to support the device. Shawn Guo (2): dt-bindings: media: add "hisilicon,hi3796cv300-ir" compatible media: rc: ir-hix5hd2: add hi3796cv300-ir support .../devicetree/bindings/media/hix5hd2-ir.txt | 3 +- drivers/media/rc/ir-hix5hd2.c | 79 ++++++++++++++----- 2 files changed, 63 insertions(+), 19 deletions(-) -- 2.17.1 Acked-by: Rob Herring