Received: by 10.223.176.5 with SMTP id f5csp3044480wra; Mon, 29 Jan 2018 08:01:43 -0800 (PST) X-Google-Smtp-Source: AH8x2256jGjWEbmQLmYUn0F+rH0HmRUgVY7INVj85sdA+VI8ZukGc7QL3cCiWNlICmDkZ44TQ6bz X-Received: by 2002:a17:902:102:: with SMTP id 2-v6mr22319945plb.178.1517241703146; Mon, 29 Jan 2018 08:01:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1517241703; cv=none; d=google.com; s=arc-20160816; b=M5nHNnSlEVz81rfZYrUSR0/8mPU4xusMznGNNrrT/NkX7kyDcehl7xrIUaA3/asRIb fxHjFdpadwWlp9TYfiPV4G1rjZXrVfSJMzGZcbdgzpqgzRI1nVbWhC9yTnBxRT2dD6mp jsXzYy9SmxHYFLVlcB9FsJ2Lv90nv/aPooMfLdg88WN5cnrZGrvUVs2dZkE+2FaXNmfL DmVm+eqik7Htkpk08kTZv5edjP/yjio59lMSlJmLenZh7vdQhBQDywPdn9Ahs1l2MVGk NZpX6c9kS03gP+KXIUwWyqTOpCcc5JRnceu+099g/96knpzUEpFvPlrcppeFjG6oiH70 UNNA== 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 :dkim-signature:arc-authentication-results; bh=RxDpad288cMetElajaKPp5I8Eh/MCXiwtSzgjRvmI0A=; b=bAmXPw4ylif9RN/tvL2XTvrwm+sxB5DUI+l+8Ug6wCX3j7bPuGOTDYc6zx3SmBYByp wAE0lZyZ+4FqujmbspB3vsdEb315J3L6c4hulPmqDy9CwhlJvtEyJAadgL04s0ah7xUl 8DGFWv01mm99K1nSzMS83T9hSEWKqNQbtQd+43tD0c5O4MenMnsUumRhcIsheoxOEX0M koTXipsixAYyBN2Kw00Zc609bU8vzxywkmd6BLQZS3BdEDa0be7uPSAgELkLpkT920G4 UJq5+lCYMPQA1x8xF3fSWTgQzUnMEi0YVKpunODxKQyefKEoQv/mlHXvX3gKoatxJuCA pbAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=mSE26EB+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 2-v6si4142676plc.784.2018.01.29.08.01.27; Mon, 29 Jan 2018 08:01:43 -0800 (PST) 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=@gmail.com header.s=20161025 header.b=mSE26EB+; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751438AbeA2P6Q (ORCPT + 99 others); Mon, 29 Jan 2018 10:58:16 -0500 Received: from mail-wr0-f196.google.com ([209.85.128.196]:46816 "EHLO mail-wr0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750959AbeA2P6O (ORCPT ); Mon, 29 Jan 2018 10:58:14 -0500 Received: by mail-wr0-f196.google.com with SMTP id g21so7753882wrb.13; Mon, 29 Jan 2018 07:58:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=RxDpad288cMetElajaKPp5I8Eh/MCXiwtSzgjRvmI0A=; b=mSE26EB+6ma95t/CXS/BOJhcoVl+T41HzCcZKHQcGUhmdBR3C6GRB698HscSMFl89O +Xa4iNaA9lWwW5pHU6OHy6djbb8T6bhcTeJUR9QiOHP2mnl+TFP8+dFBItgd1Dh2iGoy ZhrZO6P0WNT7KN5fO4PDKPFaaAGc2wNLz5L47SUT90mOtBDJPw1wwT6p6LO53Jf300N3 +fOJ0/ulxH/W9Ok6o6E7i/4LCcq+NrgGOSyBkQE8PpLFim20fRFAuonMC7AN2kI/cou2 nBsyRx11wMLCyJkQYKyG4s6odudMTcZ+7e50sLbGMJ02t7ErU9EALC72DnDJNSFouICD Xgpw== 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=RxDpad288cMetElajaKPp5I8Eh/MCXiwtSzgjRvmI0A=; b=Th1dYbNowvFU+PwIyWBqQpfpx3VfpbM/b0rbVSVTajF8y51qrrQrUkGvbwsB913w/R iEZYhpnCanElWD5XLpO1T4gaHX0kRpdTEa7t9rTJb/NzbfTpssHl/9aIEtf1lU6qHnx4 /kGG3dVbS2452D3D/14xyhox9sfbgSCjgfutWXqCzQ7c2JXS5+2/f7lgljyU95VwxdaI IZ6fP2SrUX0Jv5m2scIyGs0hiDbnGtJC6Es8KPrgz//uEkFeE0F/ndJHL9CP074BTWC5 DFEheLeKoUc/w5XR2pAk1Ef0m2VNBZzhxhyHdxjKBNo267+fV0JnV2Z0F0lkvGw88zYw XDOg== X-Gm-Message-State: AKwxytdIOtvF8HCHQ32FQ2bN3SdKjQRZHQTickm5Wpaf/iV0SpvxDHFL T0CY4binl5IfaEF+X3Gk270= X-Received: by 10.223.183.27 with SMTP id l27mr9729120wre.181.1517241493074; Mon, 29 Jan 2018 07:58:13 -0800 (PST) Received: from debian-laptop.fritz.box (p578F04D2.dip0.t-ipconnect.de. [87.143.4.210]) by smtp.gmail.com with ESMTPSA id z22sm2465385wrc.3.2018.01.29.07.58.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 29 Jan 2018 07:58:12 -0800 (PST) From: Philipp Rossak To: mchehab@kernel.org, robh+dt@kernel.org, mark.rutland@arm.com, maxime.ripard@free-electrons.com, wens@csie.org, linux@armlinux.org.uk, sean@mess.org, p.zabel@pengutronix.de, andi.shyti@samsung.com Cc: linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-sunxi@googlegroups.com Subject: [PATCH v4 0/6] arm: sunxi: IR support for A83T Date: Mon, 29 Jan 2018 16:58:04 +0100 Message-Id: <20180129155810.7867-1-embed3d@gmail.com> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This patch series adds support for the sunxi A83T ir module and enhances the sunxi-ir driver. Right now the base clock frequency for the ir driver is a hard coded define and is set to 8 MHz. This works for the most common ir receivers. On the Sinovoip Bananapi M3 the ir receiver needs, a 3 MHz base clock frequency to work without problems with this driver. This patch series adds support for an optinal property that makes it able to override the default base clock frequency and enables the ir interface on the a83t and the Bananapi M3. In general this is a resend of the v3 Patchseries, but with collected acked-by and reviewed-by and some typos fixed. changes since v3: * collecting all acks & reviewd by * fixed typos changes since v2: * reorder cir pin (alphabetical) * fix typo in documentation changes since v1: * fix typos, reword Documentation * initialize 'b_clk_freq' to 'SUNXI_IR_BASE_CLK' & remove if statement * change dev_info() to dev_dbg() * change naming to cir* in dts/dtsi * Added acked Ackedi-by to related patch * use whole memory block instead of registers needed + fix for h3/h5 changes since rfc: * The property is now optinal. If the property is not available in the dtb the driver uses the default base clock frequency. * the driver prints out the the selected base clock frequency. * changed devicetree property from base-clk-frequency to clock-frequency Regards, Philipp Philipp Rossak (6): media: rc: update sunxi-ir driver to get base clock frequency from devicetree media: dt: bindings: Update binding documentation for sunxi IR controller arm: dts: sun8i: a83t: Add the cir pin for the A83T arm: dts: sun8i: a83t: Add support for the cir interface arm: dts: sun8i: a83t: bananapi-m3: Enable IR controller arm: dts: sun8i: h3-h8: ir register size should be the whole memory block Documentation/devicetree/bindings/media/sunxi-ir.txt | 3 +++ arch/arm/boot/dts/sun8i-a83t-bananapi-m3.dts | 7 +++++++ arch/arm/boot/dts/sun8i-a83t.dtsi | 15 +++++++++++++++ arch/arm/boot/dts/sunxi-h3-h5.dtsi | 2 +- drivers/media/rc/sunxi-cir.c | 19 +++++++++++-------- 5 files changed, 37 insertions(+), 9 deletions(-) -- 2.11.0