Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp2632370pxj; Mon, 14 Jun 2021 03:33:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJylbFB5dT6qnDc9zweoaI4Sd9lPq5cRvC3tPG2tUQ6pL/OQjshSgK8bS3pjo2fC8VNKhdt8 X-Received: by 2002:a17:906:d781:: with SMTP id pj1mr14887140ejb.136.1623666838658; Mon, 14 Jun 2021 03:33:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623666838; cv=none; d=google.com; s=arc-20160816; b=JIf8zBkCnXqsvYTuY5kJgQto2sfzfeNu9utUklR1HH/g3tYCyFIA8eQTGJJyIXh+uq +32+MI1pWLApipxyZxAt2k+dXdxAxznSm/q9gk3C1P192duH9P3Pt9b3qu8vEsaBuCsD QcBgdYhPajmCUIEgFM1AuS8CCD2yhxwHbo9YXzVVEGabdc49Wt5pkEmxj/NfPx+DMj/3 gQZy7ZRIjH14WXxjPFhpMkJz7yW1vKWrpZEx9HYKBM0VmQG6Q5+zwIGVC4f6l8rSbHGx KY79vIaOoIw9w94oFZSTn+5UB5B0s+LvduhK9q8XYIXcxVYkdMkpoIM2G1gWXg101f1N EbWw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=ys3kac7HJOq68GJk1RiC8TxbOTbO4k73hRnm28GwEF8=; b=RksjUMqUhDDGd6WV4LSpuXsBaXry/Xn6EzJn74u65wQpEeLrBeXMHcV+RrooWCop8R QMwesbCfpQzNdZC+UtaOP1y1RA42iSzywngEpcu88/j7rv+tMbX7kwumwSShMJDZNsIM hepB3EF4WsI8eRcF9El6YYAclhNWuYzHbIEmVx2BDIWR1svpJLZVe+bMUKpxelpDb+yb 6xindyL30fiNmVF4qfLJVuvoLGrqQJxl1CfeTKUgthbFksiwbJLGYb4sEWV6AgdCgSGM 6VlRxa8+yvaIpBxuO23v1hqnrtuBYj1RVS9qVuX7DhN9qKD3nMrI6sRcu9MeCk91sgNI rWLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=LdBXgEne; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si5920191edb.1.2021.06.14.03.33.36; Mon, 14 Jun 2021 03:33:58 -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=@linuxfoundation.org header.s=korg header.b=LdBXgEne; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233241AbhFNKdU (ORCPT + 99 others); Mon, 14 Jun 2021 06:33:20 -0400 Received: from mail.kernel.org ([198.145.29.99]:38772 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232947AbhFNKb7 (ORCPT ); Mon, 14 Jun 2021 06:31:59 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 1D5C661241; Mon, 14 Jun 2021 10:29:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1623666596; bh=06HxnxtIEZnzYB12uT+NogL52PJZi6xTPiWFgKmivTo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=LdBXgEneflplKHJ5JS2MML1cwhWERsG0HxkPmBLqMOyTWavBNH9IF+Q0cncnOhE9e q7/Vg192VnEwdidpwdUrutSnWSCDF2HzmeLRV+Fhc5YJZXWLlIJqW2i6yIV/fzyLlj 9PR+x7IckqMM3Noa4IJHBom6F6IW983LzTOtJdSc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Chris Packham , Michael Ellerman , Wolfram Sang , Sasha Levin Subject: [PATCH 4.4 16/34] powerpc/fsl: set fsl,i2c-erratum-a004447 flag for P1010 i2c controllers Date: Mon, 14 Jun 2021 12:27:07 +0200 Message-Id: <20210614102642.115404491@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210614102641.582612289@linuxfoundation.org> References: <20210614102641.582612289@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Chris Packham [ Upstream commit 19ae697a1e4edf1d755b413e3aa38da65e2db23b ] 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 Acked-by: Michael Ellerman Signed-off-by: Wolfram Sang Signed-off-by: Sasha Levin --- arch/powerpc/boot/dts/fsl/p1010si-post.dtsi | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi index af12ead88c5f..404f570ebe23 100644 --- a/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi +++ b/arch/powerpc/boot/dts/fsl/p1010si-post.dtsi @@ -122,7 +122,15 @@ }; /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.30.2