From patchwork Fri Oct 23 09:45:00 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wolfram Sang X-Patchwork-Id: 7471271 Return-Path: X-Original-To: patchwork-linux-sh@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id C7226BEEA4 for ; Fri, 23 Oct 2015 09:45:08 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 29A9820838 for ; Fri, 23 Oct 2015 09:45:08 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 5275320837 for ; Fri, 23 Oct 2015 09:45:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751306AbbJWJpG (ORCPT ); Fri, 23 Oct 2015 05:45:06 -0400 Received: from sauhun.de ([89.238.76.85]:34431 "EHLO pokefinder.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751083AbbJWJpE (ORCPT ); Fri, 23 Oct 2015 05:45:04 -0400 Received: from p4fe259a6.dip0.t-ipconnect.de ([79.226.89.166]:58969 helo=katana) by pokefinder.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from ) id 1ZpYuE-0000v6-M5; Fri, 23 Oct 2015 11:45:02 +0200 Date: Fri, 23 Oct 2015 11:45:00 +0200 From: Wolfram Sang To: Laurent Pinchart Cc: linux-i2c@vger.kernel.org, linux-sh@vger.kernel.org, Magnus Damm , Simon Horman , Geert Uytterhoeven , Kuninori Morimoto , Yoshihiro Kaneko , Sergei Shtylyov Subject: Re: [PATCH 5/9] i2c: rcar: init new messages in irq Message-ID: <20151023094500.GD13380@katana> References: <1441311613-2681-1-git-send-email-wsa@the-dreams.de> <1917001.aD8sIkvx7f@avalon> <20151023080601.GC1642@katana> <2048622.tkxROUAu7P@avalon> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <2048622.tkxROUAu7P@avalon> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, T_TVD_MIME_EPI, UNPARSEABLE_RELAY autolearn=ham version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP > I had CONFIG_DRM_FBDEV_EMULATION disabled. I've then enabled it but also > merged git://people.freedesktop.org/~airlied/linux next in my branch, which > probably fixes the problem. So, your tree is not strictly renesas-drivers-2015-10-13-v4.3-rc5? > > I fixed it locally and will see if I see ADV7511 problems. I cannot > > fully test HDMI probably, because it seems that this HDMI->DVI chain I > > have does not work. > > It's supposed to be supported, so that might be something we need to fix. More > work for me \o/ :-) :/ Let me know if I can send you debug output. > > Okay, so before any 'modetest' activity. Which kernelconfig? > > shmobile_defconfig? > > .config attached. That one also probes for me... I only disabled DHCP and added my initramfs. I patched the fbdev build error out and changed Lager dts to use i2c-rcar (instead of i2c-sh_mobile). Can you enable CONFIG_I2C_DEBUG_CORE in the config, apply this patch, and send me the trace output and bootlog? Thanks, Wolfram diff --git a/drivers/i2c/busses/i2c-rcar.c b/drivers/i2c/busses/i2c-rcar.c index 1921294afc87ce..cd56f77550cac1 100644 --- a/drivers/i2c/busses/i2c-rcar.c +++ b/drivers/i2c/busses/i2c-rcar.c @@ -418,6 +418,7 @@ static irqreturn_t rcar_i2c_irq(int irq, void *ptr) rcar_i2c_write(priv, ICMCR, val & RCAR_BUS_MASK_DATA); msr = rcar_i2c_read(priv, ICMSR); +trace_printk("msr %08x\n", msr); /* Only handle interrupts that are currently enabled */ msr &= rcar_i2c_read(priv, ICMIER);