From patchwork Tue Feb 21 15:49:29 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bartosz Golaszewski X-Patchwork-Id: 9584953 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 A7378600CA for ; Tue, 21 Feb 2017 15:53:07 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 8E4EA28304 for ; Tue, 21 Feb 2017 15:53:07 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 8178F28613; Tue, 21 Feb 2017 15:53:07 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID 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 197E128304 for ; Tue, 21 Feb 2017 15:53:07 +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-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=3sIA4K/MHCbh+lLzojQcdgVb/7/lMD2LumiAFA7d7IA=; b=iqVErOT4MwSqZTiPqgem2tE+me VwqYoo9XT/SPfu6wLtVwrWsmWjNjeJ90vUpqE8oNkrbeJ+3eoKpfRqaFy30XJrGxI7qm6HN2SU4fm w1nGDpFmuXwHPnCHhzVjQzpPRPtznSsES0LfgFsv/qSbqK/e8bs0EbcDtd3DdqWwUalZiLTBPtoON REnKon3vlx+m78TzYJeadyWxaMm2FIW5S8aUvV7Fy5TPXNChGPxDMclDvAjpTj87GP+IirqInqy3+ YxL8R6pj740RtzmStwWjIHwMDE9i/dIy/gK8251yobgDfGDQQMIblenrqOaFHk8AYKRlGns7ryBfu NWwxG1sg==; 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 1cgCkM-0001me-Ju; Tue, 21 Feb 2017 15:52:58 +0000 Received: from mail-wr0-x231.google.com ([2a00:1450:400c:c0c::231]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1cgChu-00081e-F8 for linux-arm-kernel@lists.infradead.org; Tue, 21 Feb 2017 15:50:35 +0000 Received: by mail-wr0-x231.google.com with SMTP id z61so84510639wrc.1 for ; Tue, 21 Feb 2017 07:50:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=wnzDbesK0T0fN8BJ/WjgwqXou+q2Uwq3zmKcOWd0sQQ=; b=WuWdCSHK5JJoI5rXuSQ1brfLobft9+y8VGLcRCuYBoatPHMRaFapuTSq8JSdn0AOqj HPqeAiLzsBM2W88NyHJR0lJEIKkObFu9V7WJEr0ivI1jUX/Guo/y5rNAVnZF2HMlpRBN TXcqZpF0piTyIyvpv8rP7/i9XqJGGa+D8Q8IdXTf+/76f2uA1PtBqfVvu6yQlhAeJ+k0 0KR1/GkG692zfDQQ+ebZpoGwxcqYz+NoXPEqAn1oTD8RVXwO5naCBuunVabsdrcwhDzq CZKdEhbVbWTWb5QoaXhvl28oSHSsRgGeZFjhiBWQuv+RwsGRkmyghDbLp7KYnuU90zpI JibA== 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:in-reply-to :references; bh=wnzDbesK0T0fN8BJ/WjgwqXou+q2Uwq3zmKcOWd0sQQ=; b=oJoQ/wZhYy7zQyQi8P4Xqp6mQeAEY+QWX5QW+oaM2Cktn5Ee0LPqwIxIX8ehDYxWhS UA2I+L4ejElPSlxQ5vUqxIPLjVXQnnFigo0PXzWFKOMXjMm4auyxodra0RQ5Bc2hoORW PlN8pl0Twj4MF786zgDv++zZ45cGYNq9A/e1gYUOdnY/QnIXZItN3PELPtePaHMBX74m aC94S2xGS7AzFoZ+LSL06XbfnOaM6iTMVTH+ca9gt9MZvB4lZ9z2mhS1ZLizMePLKs0u UtXQbbeODJ4rV3cCB09W8R8GKrxC+tR0Ey21B6qI6/gK7jWad8iInX9LxkpHV97dtBrW PfPQ== X-Gm-Message-State: AMke39mNepP7WC3j1KTAzEBRNgekRUKRmUoUjyfr3gjqfqa3MMveOTTs1zVRILg2Dp3Kx14O X-Received: by 10.223.164.85 with SMTP id e21mr22111508wra.111.1487692204703; Tue, 21 Feb 2017 07:50:04 -0800 (PST) Received: from localhost.localdomain ([90.63.244.31]) by smtp.gmail.com with ESMTPSA id 8sm19246179wmg.1.2017.02.21.07.50.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 21 Feb 2017 07:50:04 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , David Lechner , Kevin Hilman , Michael Turquette , Patrick Titiano , Laurent Pinchart , Russell King Subject: [PATCH v2 2/5] ARM: davinci: board-da850-evm: add I2C ID for VPIF Date: Tue, 21 Feb 2017 16:49:29 +0100 Message-Id: <1487692172-11772-3-git-send-email-bgolaszewski@baylibre.com> X-Mailer: git-send-email 2.1.4 In-Reply-To: <1487692172-11772-1-git-send-email-bgolaszewski@baylibre.com> References: <1487692172-11772-1-git-send-email-bgolaszewski@baylibre.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170221_075027_269062_1411C655 X-CRM114-Status: GOOD ( 11.85 ) 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: , Cc: linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org MIME-Version: 1.0 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 From: Kevin Hilman VPIF capture driver now has a way to specific I2C adapter ID (was previously hard-coded.) Use the new interface. Signed-off-by: Kevin Hilman --- arch/arm/mach-davinci/board-da850-evm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-davinci/board-da850-evm.c b/arch/arm/mach-davinci/board-da850-evm.c index 6f1e129..0b9ff2a 100644 --- a/arch/arm/mach-davinci/board-da850-evm.c +++ b/arch/arm/mach-davinci/board-da850-evm.c @@ -1213,6 +1213,7 @@ static struct vpif_subdev_info da850_vpif_capture_sdev_info[] = { static struct vpif_capture_config da850_vpif_capture_config = { .subdev_info = da850_vpif_capture_sdev_info, .subdev_count = ARRAY_SIZE(da850_vpif_capture_sdev_info), + .i2c_adapter_id = 1, .chan_config[0] = { .inputs = da850_ch0_inputs, .input_count = ARRAY_SIZE(da850_ch0_inputs),