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: 60918 Received: from vger.kernel.org ([209.132.180.67]) by www.linuxtv.org with esmtp (Exim 4.92) (envelope-from ) id 1ikRq8-00GVwQ-Vb; Thu, 26 Dec 2019 12:02:04 +0000 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726105AbfLZMCf (ORCPT + 1 other); 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: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@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(-)