From patchwork Tue Feb 26 20:32:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Sylwester Nawrocki X-Patchwork-Id: 2187421 Return-Path: X-Original-To: patchwork-linux-media@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by patchwork2.kernel.org (Postfix) with ESMTP id 49187DF215 for ; Tue, 26 Feb 2013 20:33:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755334Ab3BZUdF (ORCPT ); Tue, 26 Feb 2013 15:33:05 -0500 Received: from mail-ee0-f48.google.com ([74.125.83.48]:33554 "EHLO mail-ee0-f48.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752035Ab3BZUdE (ORCPT ); Tue, 26 Feb 2013 15:33:04 -0500 Received: by mail-ee0-f48.google.com with SMTP id t10so2783288eei.21 for ; Tue, 26 Feb 2013 12:33:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:message-id:date:from:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=87/Qmc0Lki7WyWDWubIcFihaQ6LYmqJUUylIcx+3Bj4=; b=mQGdjDzyzJEBgoF431RNRz2MvGIWpSqIXTbACe3DCgVIJzbwzGdzofxjkJUzZyDMOz pyj7UDAVTyGsRBUol6AL0LcIAFzY0ptTdPeojiXrJt0od6gD/vkZ9NAT2RH1RJH3nEZN vtfmywyDLQIWQFZEOfqoLkKMSvtFlNFrL2cYUIKZNdtcQREKgGlFbM7sTZ2u7/1VdUqR pW+sDiRrD7nViwN/QLzE4/cFyv7GjLcsuE4+tTPs2njdCI4tFdvJmnSPoIwCp4qJyM3F E+eEC6j1XgT8Yj9ImiB1/yEKmrXNdxHJA2/Bl/+UNUWbCNR+IMH8IOYQG/msUTpEJ7Os XIng== X-Received: by 10.14.223.69 with SMTP id u45mr53162425eep.23.1361910782220; Tue, 26 Feb 2013 12:33:02 -0800 (PST) Received: from [192.168.1.110] (093105185086.warszawa.vectranet.pl. [93.105.185.86]) by mx.google.com with ESMTPS id r4sm3141793eeo.12.2013.02.26.12.33.00 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Tue, 26 Feb 2013 12:33:01 -0800 (PST) Message-ID: <512D1BFB.4000700@gmail.com> Date: Tue, 26 Feb 2013 21:32:59 +0100 From: Sylwester Nawrocki User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20120412 Thunderbird/11.0.1 MIME-Version: 1.0 To: Lonsn CC: linux-samsung-soc@vger.kernel.org, linux-media@vger.kernel.org Subject: Re: SMDKV210 support issue in kernel 3.8 (dma-pl330 and HDMI failed) References: <51275DF7.4010600@gmail.com> <512CB1BE.1070401@gmail.com> <512D160D.1050706@gmail.com> In-Reply-To: <512D160D.1050706@gmail.com> Sender: linux-media-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-media@vger.kernel.org On 02/26/2013 09:07 PM, Sylwester Nawrocki wrote: > Hi Lonsn, > > On 02/26/2013 01:59 PM, Lonsn wrote: >> Now I checked HDMI failed at: >> drivers/media/platform/s5p-tv/hdmi_drv.c: 912 line >> adapter = i2c_get_adapter(pdata->hdmiphy_bus); >> if (adapter == NULL) { >> dev_err(dev, "hdmiphy adapter request failed\n"); >> ret = -ENXIO; >> goto fail_vdev; >> } >> Since pdata->hdmiphy_bus is 3, why i2c_get_adapter failed? > > Do you have I2C3 bus controller device added to the list of devices > registered in the init_machine() callback, i.e. &s3c_device_i2c3 > entry in smdkv210_devices[] array ? > > You can refer to arch/arm/mach-exynos/mach-universal_c210.c board file > for how a complete setup for the HDMI driver should look like. It's > for Exynos4210 SoCs but it should not be much different from what you > need for S5PV210. To build the kernel with s3c_device_i2c3 S3C_DEV_I2C3 and S5PV210_SETUP_I2C3 need to be selected in Kconfig, e.g. --- To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html diff --git a/arch/arm/mach-s5pv210/Kconfig b/arch/arm/mach-s5pv210/Kconfig index 92ad72f..51ce100 100644 --- a/arch/arm/mach-s5pv210/Kconfig +++ b/arch/arm/mach-s5pv210/Kconfig @@ -151,12 +151,14 @@ config MACH_SMDKV210 select S3C_DEV_HSMMC3 select S3C_DEV_I2C1 select S3C_DEV_I2C2 + select S3C_DEV_I2C3 select S3C_DEV_RTC select S3C_DEV_USB_HSOTG select S3C_DEV_WDT select S5PV210_SETUP_FB_24BPP select S5PV210_SETUP_I2C1 select S5PV210_SETUP_I2C2 + select S5PV210_SETUP_I2C3 select S5PV210_SETUP_IDE select S5PV210_SETUP_KEYPAD select S5PV210_SETUP_SDHCI