Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp860671rwb; Wed, 28 Sep 2022 09:59:11 -0700 (PDT) X-Google-Smtp-Source: AMsMyM4n13iJs7CyMN6S63CLb0lqLUDMyTDt4C7FVkVb28RU0xoopCM3YnpvhghGgZauMOykZl56 X-Received: by 2002:a17:907:7289:b0:783:afc4:1413 with SMTP id dt9-20020a170907728900b00783afc41413mr12808530ejc.388.1664384351216; Wed, 28 Sep 2022 09:59:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664384351; cv=none; d=google.com; s=arc-20160816; b=lZvJxbaMmx1tfYzAoKuLVOR1T4WWN3bCY9lgDsEfUA+a6/zQbuezDg6yvbwu0o3TvG kVM9ijXa+drZ5WUM9g8sMLrMyAZ9PpvSJkaz0FDhWYXTn++UhTAcb+KCjxu/rDetxFQB QTRfIRA8yW88LcCL6VQ5oShGfDYqb0FKGtaV89r9e9ZS9dWcUB72yDlOA8V/+h6LCCKj HnwJoyL5YjLikOvyvcJ58yKsI3oR7avgpMNWni2HxEEizRj+TMgE4v0YoP+2p0kPkV9/ LHKeeeDfq3MFUqNuu28lK8IvgvrysYlYFm8FLNR1wE88LjFsCMHh7ae/noPR7HtezfcC Kh7g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=U0pYuGmou1BP7txosMQICckzMW7JZj2QQBmj4tBxek4=; b=HNj66ndKXbVIGc6H5HkDgOaaWxl83u2hd60tDD6UD+P2GSsRU8SjLBtjKGxY8o6KxB 77sksGTUfvSQ5V0Veho1wTewNGG8kDw3DKGR5e3edzSDbbrDMxMMGkrQ/fgC+UfnZxzr j/s3S++NDEO6cpKLbucByrB9Jsk28G455Xcaz8r16zGxrZrjecj95CX0zrXE/0UfgVqM lwyJ8Rc22IDd82YxLpMvwKkyGYKTSDHi+HOklIAZ7Q2X40f+SRqC/L2qnZfMbgpi1llh V5N76fKmXHyu/SHyiRiHunDm2loyS2YadEaDd0ZckFz1tBa2R4ni/lFf5x0PH7Nh2XJC qRvw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=jhf5yymc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id qa10-20020a170907868a00b00779a3220c5asi4902128ejc.343.2022.09.28.09.58.45; Wed, 28 Sep 2022 09:59:11 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=jhf5yymc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234150AbiI1QmY (ORCPT + 99 others); Wed, 28 Sep 2022 12:42:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50298 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234007AbiI1QmU (ORCPT ); Wed, 28 Sep 2022 12:42:20 -0400 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 828A1D4DD4; Wed, 28 Sep 2022 09:42:18 -0700 (PDT) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id 732B947C; Wed, 28 Sep 2022 18:42:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1664383335; bh=7KA1n0RAEw+lqCsVliprwKrAzzAI6PKXJUVUTsE8vvI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=jhf5yymccXEDElBwJIt9EVPsMTJhdaS+OPOIzhAFb0KKYTCWvhXBCXPVq0m0n32Sw rpu+rVv2WBSXKIBQc7SBwG+tCmDelTn/2MDcQNB+cLRLCfNdajVo7oyzBCQ5WlTJkW 1v1iGNAwQSsnpksEPl/MA7pMSfUlB4hJOx2kwMsc= Date: Wed, 28 Sep 2022 19:42:14 +0300 From: Laurent Pinchart To: Sai Krishna Potthuri Cc: Linus Walleij , Rob Herring , Michal Simek , Krzysztof Kozlowski , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-gpio@vger.kernel.org, git@xilinx.com, saikrishna12468@gmail.com Subject: Re: [PATCH 0/4] pinctrl: pinctrl-zynqmp: Add tri-state configuration support Message-ID: References: <1655462819-28801-1-git-send-email-lakshmi.sai.krishna.potthuri@xilinx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 28, 2022 at 06:58:10PM +0300, Laurent Pinchart wrote: > Hi Sai, > > On Fri, Jun 17, 2022 at 04:16:55PM +0530, Sai Krishna Potthuri wrote: > > This series update the Xilinx firmware, ZynqMP dt-binding and ZynqMP > > pinctrl driver to handle 'output-enable' and 'bias-high-impedance' > > configurations. As part of these configurations, ZynqMP pinctrl driver > > takes care of pin tri-state setting. > > Also fix the kernel doc warning in ZynqMP pinctrl driver. > > I'm afraid this causes a regression :-( With this series applied, boot > breaks with the following message being printed to the serial console: > > Received exception > MSR: 0x200, EAR: 0xFF180198, EDR: 0x0, ESR: 0x64 > > I've traced that to the probe of the UART, when it calls into the > firmware to set pin MIO18 to high impedance. According to v1.7 of the > ZynqMP registers reference (UG1087), there is no register at address > 0xFF180198. > > I am using the VCU TRD 2021.1 for testing. Does this series require a > firmware update ? If so backward compatibility needs to be preserved. > It's very late in the v6.0-rc cycle for a fix, a revert may be best at > this point, to give us time to fix the issue properly. I've now tested the VCU TRD 2022.1 (which AFAIK is the latest available version), and the problem doesn't occue then. It thus seems this depends on a firmware update, which is impractical at best for all old designs :-( > > Note: Resending the series as i see this series didn't went out due > > to some issue with my mail client. Please ignore if this series is > > already received. > > > > Sai Krishna Potthuri (4): > > firmware: xilinx: Add configuration values for tri-state > > dt-bindings: pinctrl-zynqmp: Add output-enable configuration > > pinctrl: pinctrl-zynqmp: Add support for output-enable and > > bias-high-impedance > > pinctrl: pinctrl-zynqmp: Fix kernel-doc warning > > > > .../bindings/pinctrl/xlnx,zynqmp-pinctrl.yaml | 4 ++++ > > drivers/pinctrl/pinctrl-zynqmp.c | 11 +++++++++++ > > include/linux/firmware/xlnx-zynqmp.h | 5 +++++ > > 3 files changed, 20 insertions(+) -- Regards, Laurent Pinchart