From patchwork Mon Mar 6 15:57:26 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadim Fedorenko X-Patchwork-Id: 13161472 X-Patchwork-Delegate: kuba@kernel.org Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3A373C61DA4 for ; Mon, 6 Mar 2023 15:58:01 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229736AbjCFP57 (ORCPT ); Mon, 6 Mar 2023 10:57:59 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38314 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229590AbjCFP56 (ORCPT ); Mon, 6 Mar 2023 10:57:58 -0500 Received: from mx0b-00082601.pphosted.com (mx0b-00082601.pphosted.com [67.231.153.30]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9A599273B for ; Mon, 6 Mar 2023 07:57:55 -0800 (PST) Received: from pps.filterd (m0109331.ppops.net [127.0.0.1]) by mx0a-00082601.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 32699oxT007246; Mon, 6 Mar 2023 07:57:48 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=meta.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=s2048-2021-q4; bh=ODN61q7IeygtRing57sYlfcuJ49t+FhakgwvNj/F8dg=; b=BOHG14yd9OfZ2xxwCRhZkOOHq7kUjzFoT9QJ/K7BwqkfIEWI7L9WqNwXJaokcLgJEzr5 LuPydvNq1pOujJtJ5CAUmC8FNoiWyGS3IkprnTPb4aLaN+oCh4HLXTcbVuTR0n+Oah+4 mZf2D0EGFt44CuEGBCNDbTm77ucy0HP84OjSttBCiJTuzywTGMe3wSKPySKUFVj8cLql UUmQ2M1RZzHWI3o0QWyeCWUTBy/YA/+z+HDyqqi7pBJCQABkGyMr3YNEr/otnJvqjy6I VmJkT79DX+hCclq34o/WAhTd6Te0TVRncoNlz9qZur+YAVJSgnj/AQ44s0hF2KytEvvU lg== Received: from maileast.thefacebook.com ([163.114.130.16]) by mx0a-00082601.pphosted.com (PPS) with ESMTPS id 3p44q02mpg-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NOT); Mon, 06 Mar 2023 07:57:48 -0800 Received: from devvm1736.cln0.facebook.com (2620:10d:c0a8:1b::d) by mail.thefacebook.com (2620:10d:c0a8:82::f) with Microsoft SMTP Server id 15.1.2507.17; Mon, 6 Mar 2023 07:57:46 -0800 From: Vadim Fedorenko To: Jakub Kicinski , Jonathan Lemon CC: Vadim Fedorenko , Richard Cochran , Vadim Fedorenko , Subject: [net-next] ptp_ocp: add force_irq to xilinx_spi configuration Date: Mon, 6 Mar 2023 07:57:26 -0800 Message-ID: <20230306155726.4035925-1-vadfed@meta.com> X-Mailer: git-send-email 2.30.2 MIME-Version: 1.0 X-Originating-IP: [2620:10d:c0a8:1b::d] X-Proofpoint-ORIG-GUID: hM1NGOQU6l37euE-eKVVYctJPFk12kdu X-Proofpoint-GUID: hM1NGOQU6l37euE-eKVVYctJPFk12kdu X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-03-06_09,2023-03-06_01,2023-02-09_01 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Flashing firmware via devlink flash was failing on PTP OCP devices because it is using Quad SPI mode, but the driver was not properly behaving. With force_irq flag landed it now can be fixed. Signed-off-by: Vadim Fedorenko --- drivers/ptp/ptp_ocp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/ptp/ptp_ocp.c b/drivers/ptp/ptp_ocp.c index 4bbaccd543ad..2b63f3487645 100644 --- a/drivers/ptp/ptp_ocp.c +++ b/drivers/ptp/ptp_ocp.c @@ -662,6 +662,7 @@ static struct ocp_resource ocp_fb_resource[] = { .num_chipselect = 1, .bits_per_word = 8, .num_devices = 1, + .force_irq = true, .devices = &(struct spi_board_info) { .modalias = "spi-nor", },