From patchwork Sun Nov 12 11:25:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Pavel Machek X-Patchwork-Id: 10054733 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 659B360365 for ; Sun, 12 Nov 2017 11:26:09 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 568F02995E for ; Sun, 12 Nov 2017 11:26:09 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 4B05A29960; Sun, 12 Nov 2017 11:26:09 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-4.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id DBEED2995E for ; Sun, 12 Nov 2017 11:26:08 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender:Content-Type: List-Subscribe:List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id: MIME-Version:Message-ID:Subject:To:From:Date:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Owner; bh=wo1AO2H1pRNRSBzhhZvrjiyl9u0IjDE/whxSOMypUAs=; b=KHe rS6GSnoWFKpKXmMJKUe/jZE1nbWOgA5VAl9l4t49ao8RlAet7rEyNfn+w1v7m98cPeHCJ0lHkawOx 0CMC2LRHSPTm/PLGBdWxpgLIzeqkOsm34Y2SD88DcF62vAaMrtumEHb2OKQITPA7G/2VcL61npLPj xaumb4Ab+9F1gu4BAVlAMGjG+KfO0W5vV9MqJx4W+Qd2ZXIbd4Lf+8Br9+Ku9sE9SDRVk4dCw+xO9 9i5C6epcVukdJOZzldARME2jSS87xVKr0ELSjFXR+FfHUy7pT95oDon263RMRM9T/nznmXOTky0V2 QFPLM76+oiC31jKj60SpDmrCikoqKRA==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1eDqOp-0000re-OA; Sun, 12 Nov 2017 11:26:03 +0000 Received: from atrey.karlin.mff.cuni.cz ([195.113.26.193]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1eDqOk-0000pS-MV for linux-arm-kernel@lists.infradead.org; Sun, 12 Nov 2017 11:26:01 +0000 Received: by atrey.karlin.mff.cuni.cz (Postfix, from userid 512) id E1D36823AC; Sun, 12 Nov 2017 12:25:29 +0100 (CET) Date: Sun, 12 Nov 2017 12:25:29 +0100 From: Pavel Machek To: pali.rohar@gmail.com, sre@kernel.org, kernel list , linux-arm-kernel , linux-omap@vger.kernel.org, tony@atomide.com, khilman@kernel.org, aaro.koskinen@iki.fi, ivo.g.dimitrov.75@gmail.com, patrikbachan@gmail.com, serge@hallyn.com, abcloriens@gmail.com, clayton@craftyguy.net, martijn@brixit.nl, sakari.ailus@linux.intel.com Subject: [PATCH] omap3-n900: enable autofocus Message-ID: <20171112112528.GA21009@amd> MIME-Version: 1.0 User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20171112_032558_947272_40DFA560 X-CRM114-Status: GOOD ( 10.94 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP Connect auto-focus coil to the camera sensor, so that it can be used by camera applications. Signed-off-by: Pavel Machek Acked-by: Pali Rohár Reviewed-by: Sebastian Reichel diff --git a/arch/arm/boot/dts/omap3-n900.dts b/arch/arm/boot/dts/omap3-n900.dts index 669c51c..59cc743 100644 --- a/arch/arm/boot/dts/omap3-n900.dts +++ b/arch/arm/boot/dts/omap3-n900.dts @@ -778,6 +778,8 @@ reset-gpio = <&gpio4 6 GPIO_ACTIVE_HIGH>; /* 102 */ + lens-focus = <&ad5820>; + port { csi_cam1: endpoint { bus-type = <3>; /* CCP2 */