Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp178596ybb; Tue, 24 Mar 2020 19:36:11 -0700 (PDT) X-Google-Smtp-Source: ADFU+vvwksmKo5Sn4CHU9+9qrEg7hHmK01TPiHWY0ciJ6GArsYhBYKg8HFjlBYPh204Mmw4x1YY1 X-Received: by 2002:aca:dc44:: with SMTP id t65mr988352oig.176.1585103771379; Tue, 24 Mar 2020 19:36:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1585103771; cv=none; d=google.com; s=arc-20160816; b=VavhsWTa+s29t+ws7csXTY3csptS1bVf5C9CL8slAVEWvq6Gc1CKiBsSyJt7B50efs 2PN/pFvUqAv5Q60BATvwU6M7zFzQIBOyIr3LNy9oxWj0SxIEeUDgV6lFYl03+GarKJ7B sW6pEg+o7eDY7XQN6X+mPHjaCrCzs7ePLNs5xIgsbe4gGKI71MrJH/RXaqXlf3731Ng8 UjTMpjk5PDZF4losiTGANnY073nT4d+uvQ4IhTuEcZK0Rm+ByPcNZDHCskXO5xhw5Zuy jFZGBXDCiUHZv9d0DUadytjYLZvC86+6Ad3bqFob92S9Lit6QB5Vn4vHhhlQ25OTA2TA 8VwQ== 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:mime-version :references:in-reply-to:date:subject:message-id:cc:to:from :dkim-signature; bh=npt681j7OlP7ZSLk8k6P4PyWCdxxnt6o5Olle4tXENs=; b=nKr/1DXcqMZjmHCbvcpWDtzzDkja8NB4be0gahgZy9b9w/Ay5W/N3hdjyXni1jO9vS lezAVZOdCk6A/espocQehsqudG9I2bVAB1fov80EFjUCNgGiqefRvORmefvL9rAgV4AZ p6glGkYOPtPTLEG3ihBpV2fVwZwB3kwice9tiljRV0XeR79S3ArhUNMJCa6G7m2NBExU 8pB6t17EOk3ZtL3vEPMGqEmCvhzFi23jzNxmtgdUcaGAFKk+b5I5lPhyHMaRgGAXwv/A iZHrLi6TMc41QwqBtB0aSBYJg77l7FJdYDyWpg3a/+E67wUDaKtSX66IPrMaRHT+5M9Y 2bEQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@flygoat.com header.s=mail header.b=DjuCOQ4e; 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=flygoat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k201si10117432oib.94.2020.03.24.19.35.59; Tue, 24 Mar 2020 19:36:11 -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=@flygoat.com header.s=mail header.b=DjuCOQ4e; 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=flygoat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727456AbgCYCfh (ORCPT + 99 others); Tue, 24 Mar 2020 22:35:37 -0400 Received: from sender3-op-o12.zoho.com.cn ([124.251.121.243]:17898 "EHLO sender3-op-o12.zoho.com.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727268AbgCYCfg (ORCPT ); Tue, 24 Mar 2020 22:35:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1585103557; s=mail; d=flygoat.com; i=jiaxun.yang@flygoat.com; h=From:To:Cc:Message-ID:Subject:Date:In-Reply-To:References:MIME-Version:Content-Transfer-Encoding:Content-Type; bh=npt681j7OlP7ZSLk8k6P4PyWCdxxnt6o5Olle4tXENs=; b=DjuCOQ4erRnLLiXGEbfrRUs43h9P4HLYMuXPb1FGlzWCV8FKI6xsFeYRowUydzRf Xb2WgmTQxWLp+zfflNUpcgcdszYSnrytwSiCiYncfWEOQ5cl+G2Vzq/FLc38H9f+3DC 8mr5kZ6sQsEP3dfCmRLc/5b4lZNDXSJ3n83EOHkk= Received: from localhost.localdomain (39.155.141.144 [39.155.141.144]) by mx.zoho.com.cn with SMTPS id 1585103555009451.3472600108754; Wed, 25 Mar 2020 10:32:35 +0800 (CST) From: Jiaxun Yang To: linux-mips@vger.kernel.org Cc: Alex Smith , "H . Nikolaus Schaller" , Paul Cercueil , Thomas Bogendoerfer , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Mark Rutland , Jonathan Corbet , Huacai Chen , Jiaxun Yang , John Crispin , Matthias Brugger , Jean Delvare , "David S. Miller" , Mauro Carvalho Chehab , Greg Kroah-Hartman , Jonathan Cameron , Andy Shevchenko , Andi Kleen , "Eric W. Biederman" , Kees Cook , Paul Burton , Miquel Raynal , Krzysztof Kozlowski , Yinglu Yang , Tiezhu Yang , Allison Randal , Bartlomiej Zolnierkiewicz , Manuel Lauss , Serge Semin , Matt Redfearn , linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-doc@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-ide@vger.kernel.org Message-ID: <20200325022916.106641-5-jiaxun.yang@flygoat.com> Subject: [PATCH v7 02/12] MIPS: DTS: CI20: add DT node for IR sensor Date: Wed, 25 Mar 2020 10:28:20 +0800 X-Mailer: git-send-email 2.26.0.rc2 In-Reply-To: <20200325022916.106641-1-jiaxun.yang@flygoat.com> References: <20200325022916.106641-1-jiaxun.yang@flygoat.com> MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable X-ZohoCNMailClient: External Content-Type: text/plain; charset=utf8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Alex Smith The infrared sensor on the CI20 board is connected to a GPIO and can be operated by using the gpio-ir-recv driver. Add a DT node for the sensor to allow that driver to be used. Signed-off-by: Alex Smith Signed-off-by: H. Nikolaus Schaller Reviewed-by: Paul Cercueil Signed-off-by: Thomas Bogendoerfer --- arch/mips/boot/dts/ingenic/ci20.dts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/arch/mips/boot/dts/ingenic/ci20.dts b/arch/mips/boot/dts/ingen= ic/ci20.dts index c340f947baa0..fc4e64200c3d 100644 --- a/arch/mips/boot/dts/ingenic/ci20.dts +++ b/arch/mips/boot/dts/ingenic/ci20.dts @@ -62,6 +62,11 @@ eth0_power: fixedregulator@0 { =09=09enable-active-high; =09}; =20 +=09ir: ir { +=09=09compatible =3D "gpio-ir-receiver"; +=09=09gpios =3D <&gpe 3 GPIO_ACTIVE_LOW>; +=09}; + =09wlan0_power: fixedregulator@1 { =09=09compatible =3D "regulator-fixed"; =09=09regulator-name =3D "wlan0_power"; --=20 2.26.0.rc2