Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4878412pxj; Tue, 25 May 2021 19:50:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJw7S2yqQS3qlERscaAQTMomApyjvWbvhZ5XY+vjUl8ouxOYf9QlLnywIfughLCeJzWJN4KJ X-Received: by 2002:a17:906:7712:: with SMTP id q18mr32489241ejm.10.1621997417032; Tue, 25 May 2021 19:50:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1621997417; cv=none; d=google.com; s=arc-20160816; b=ebv2ffmjL893Z6MhWT5ft5uNyoNS+nj44BfFqoOI7b0XK/OAwHJluT6Siwa7QRbgR6 u8YQPWMzWSZCPXePIjphyzcHZuw/kzEUVl8/WvXVOV1UTMtDaRJt9Cuagn/0FsDfmG+A qYIHxZO9Jdg5bwGL9ce9p7MVsYjytJq+JWQsHD0R+tPSZScLWbQBGBv3/EOeeKjfFWZP WkTs8yRvyCW6+8gZuSNZ4eng253wW22nmvg10tp1cL59avhdov4tNPLwrp/pTWIA3nDw 2OYH9xseT7P5aozdO7ufM7cfD1hejbACAQJ/I26xmA4lmjzlhuBalboXHIiyC79Ot0GT WxRw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:from:dkim-signature; bh=Iw4M6gVIqGzEw8RdSfwLdkk24kCp1WH3F9j18Pes2h8=; b=DI35ihbeyNF3yDBjDhMi76YfLIojtGPLoVtbQAFto6Tl6fKqnFwHuyyH2MuM8N+97e 7rPZDVaR3uniKs9XWYEd/Ksie56E1Aa/bknupcxVYu5aWImi2oKdkAato47E4bz7wjFX afd04xRAGtUikCZoHS2i8N/PP61pezDAoo8Am8NeiELsE1Kn0BwJZ4aEbfN8cgnHMsKv F7EauD6nSKUpMjkllxN6swob5XOvdu4ny6EEAySG7IRfanyLpU9oW9C3SmeKJCyLe/ea WHJg0cWRyfiRH3OGgbGlwhFWW6yETRQOtAspW2pWM4GX+I7lglxVC6zg+mJIGTfh0NUH wH0Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=p6bYg521; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id r14si16868522edm.356.2021.05.25.19.49.54; Tue, 25 May 2021 19:50:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ellerman.id.au header.s=201909 header.b=p6bYg521; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232718AbhEZBEB (ORCPT + 99 others); Tue, 25 May 2021 21:04:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48806 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230499AbhEZBEB (ORCPT ); Tue, 25 May 2021 21:04:01 -0400 Received: from ozlabs.org (bilbo.ozlabs.org [IPv6:2401:3900:2:1::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 74EB4C061574; Tue, 25 May 2021 18:02:30 -0700 (PDT) Received: from authenticated.ozlabs.org (localhost [127.0.0.1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mail.ozlabs.org (Postfix) with ESMTPSA id 4FqXjZ6tj2z9s1l; Wed, 26 May 2021 11:02:26 +1000 (AEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ellerman.id.au; s=201909; t=1621990947; bh=ovmd0QF/+rpAnQrJvBUm7otUcw+qV5Ofv5ggDfLR6Xc=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=p6bYg521w6h6ZLZ4HKv4fMMUYE1um6gMHa4CCo11P+CNv8k3t4VY708RdlLJKQ7BN FfeoldeuFU+NKz8DfiDtrZACNYxwH/Fphp2P4M3Dv0SEsF2FBt5yoVuhO5NyIyCeLb zr0OEXpyVuZE7e0N072prtqci6KDWDLoPHU/ny4/BMheg+eBHayHSgyH7FaOEgrpQZ xSRSWkPHHjdY8TYncZj5Uk/w/0PGTiKUWoGsStN4qqqmAYVnT+7duEx84qjd+3V24V UGbofM4eKqRN8smR3tP/hNAtxcDKQLoD0BpfkkWMD1yn+M+89Kenc4jNSWwIWWg1q+ eFESgryfTEU8Q== From: Michael Ellerman To: Chris Packham , wsa@kernel.org, andriy.shevchenko@linux.intel.com, andy.shevchenko@gmail.com, robh+dt@kernel.org Cc: linux-i2c@vger.kernel.org, devicetree@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org, Chris Packham , Benjamin Herrenschmidt , Paul Mackerras Subject: Re: [PATCH v3 3/4] powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers In-Reply-To: <20210511212052.27242-4-chris.packham@alliedtelesis.co.nz> References: <20210511212052.27242-1-chris.packham@alliedtelesis.co.nz> <20210511212052.27242-4-chris.packham@alliedtelesis.co.nz> Date: Wed, 26 May 2021 11:02:26 +1000 Message-ID: <871r9ui9y5.fsf@mpe.ellerman.id.au> MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Chris Packham writes: > The i2c controllers on the P1010 have an erratum where the documented > scheme for i2c bus recovery will not work (A-004447). A different > mechanism is needed which is documented in the P1010 Chip Errata Rev L. > > Signed-off-by: Chris Packham > --- > > Notes: > Changes in v3: > - New > > arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 8 ++++++++ > 1 file changed, 8 insertions(+) Acked-by: Michael Ellerman cheers > diff --git a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi > index c2717f31925a..ccda0a91abf0 100644 > --- a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi > +++ b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi > @@ -122,7 +122,15 @@ memory-controller@2000 { > }; > > /include/ "pq3-i2c-0.dtsi" > + i2c@3000 { > + fsl,i2c-erratum-a004447; > + }; > + > /include/ "pq3-i2c-1.dtsi" > + i2c@3100 { > + fsl,i2c-erratum-a004447; > + }; > + > /include/ "pq3-duart-0.dtsi" > /include/ "pq3-espi-0.dtsi" > spi0: spi@7000 { > -- > 2.31.1