Received: by 10.223.164.202 with SMTP id h10csp311963wrb; Mon, 6 Nov 2017 07:03:28 -0800 (PST) X-Google-Smtp-Source: ABhQp+RRateLRsXoWdWCL7A6sABGK45XhQ1EKG4JJUsHTZI/9p/HVWcCcOY+8Dut9SJS+1FwpktJ X-Received: by 10.159.198.11 with SMTP id f11mr15266096plo.425.1509980608352; Mon, 06 Nov 2017 07:03:28 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1509980608; cv=none; d=google.com; s=arc-20160816; b=ttMRH694SGoanQVukjl1feNya25vTLEIrt+1fZu16ht8cx/KQ46MMbBVlwkJLhW2oz 305dSOIB/5jZycn8RnUvorANl52CJIJ2OzGg+jkBvvqRapFpMaUYkLJCC3CQTO/4tf1f qwgGSDUhwotnc0t/nZ1vYUVPjNmWPCi3GopxUD0hikoS8i+o+l84/fix2jFc1rO5M+B5 7uOJcrcDQNlX26bz7/v62IzywTR+63P8ajqSP3aOeOuHH3yMkmmj/dgTMOhgZH7Rfwvi UE21Vo6Berv0eexusxEPKbZZ/fgXtUZEJ384J3FdbzS3Pzls4SesNGX00oAcaQM1ievr f4/A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dmarc-filter :arc-authentication-results; bh=GPMbOdaKsaL5/85JAiEweTRvHmxRULexBartm+W9yt4=; b=XgYm3mhEfl+qbYtmxepluahgcm9kX2SYHgrGZ6zKgexGxEAcFWav2g3HXWF8HJjFh4 sWGCXHa2TEJgtQIRqtO/KMROgkbSNIiklZpfKMB7KTZOaeEJxl8PIrlvz5bDtmg4LAPm Xx/Pn7/F4B6zABO9LTFi02vRvdhKDcRSQUl+UqubjfuiQu4B5nU866/fghi0O+24UR7N ibX3bml9dbXfNsr0JcoAX8AjURTtXLhLHY2VRMPsT+X2YAqALtVgZq2pi2h/L+mdzVIl UxrFmtzA1zeFLVRdFPimzdVobxXvUQkAQZSF4jsQIsrv5+ADCSSD6cyVTFDBpQn3tdm3 P9Ng== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id p15si10515659pll.96.2017.11.06.07.03.14; Mon, 06 Nov 2017 07:03:28 -0800 (PST) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753500AbdKFOUY (ORCPT + 97 others); Mon, 6 Nov 2017 09:20:24 -0500 Received: from mail.kernel.org ([198.145.29.99]:60544 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753481AbdKFOUW (ORCPT ); Mon, 6 Nov 2017 09:20:22 -0500 Received: from mail-qk0-f182.google.com (mail-qk0-f182.google.com [209.85.220.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id CF28521939; Mon, 6 Nov 2017 14:20:21 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CF28521939 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=robh+dt@kernel.org Received: by mail-qk0-f182.google.com with SMTP id n5so11038433qke.11; Mon, 06 Nov 2017 06:20:21 -0800 (PST) X-Gm-Message-State: AJaThX6q9PRwRKbaq9FAsh4+FGW/KnxlrNhuTAp9Hvd2Jm4w1agQ0Bng g2RKpYRRVy1skg3SSGanJ1qDwPLckOXE+e+NQw== X-Received: by 10.55.197.202 with SMTP id k71mr2678960qkl.270.1509978018474; Mon, 06 Nov 2017 06:20:18 -0800 (PST) MIME-Version: 1.0 Received: by 10.12.130.134 with HTTP; Mon, 6 Nov 2017 06:19:58 -0800 (PST) In-Reply-To: <20171105124949.ct4ity6htxqgvvfp@ninjato> References: <20171101002330.24981-1-joel@jms.id.au> <20171105124949.ct4ity6htxqgvvfp@ninjato> From: Rob Herring Date: Mon, 6 Nov 2017 08:19:58 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v4] i2c: aspeed: Deassert reset in probe To: Wolfram Sang Cc: Joel Stanley , Brendan Higgins , Philipp Zabel , Benjamin Herrenschmidt , Andrew Jeffery , "linux-i2c@vger.kernel.org" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Nov 5, 2017 at 6:49 AM, Wolfram Sang wrote: > On Wed, Nov 01, 2017 at 10:53:30AM +1030, Joel Stanley wrote: >> In order to use i2c from a cold boot, the i2c peripheral must be taken >> out of reset. We request a shared reset controller each time a bus >> driver is loaded, as the reset is shared between the 14 i2c buses. >> >> On remove the reset is asserted, which only touches the hardware once >> the last i2c bus is removed. >> >> The reset is required as the I2C buses will not work without releasing >> the reset. Previously the driver only worked with out of tree hacks >> that released this reset before the driver was loaded. Update the >> device tree bindings to reflect this. >> >> Signed-off-by: Joel Stanley >> --- >> v4: >> - Make reset required and update device tree bindings > > For that change, I'd like to have an ack from Rob first. Won't that > cause problems when you update only the kernel and keep the "old" > devicetree? Given it didn't really work as explained above, I'm okay with the change. Acked-by: Rob Herring From 1583278972683561009@xxx Mon Nov 06 01:41:31 +0000 2017 X-GM-THRID: 1582821193795495794 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread