From patchwork Thu Oct 20 23:12:42 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Vadim Fedorenko X-Patchwork-Id: 13014130 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 A3B97C4332F for ; Thu, 20 Oct 2022 23:13:40 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229456AbiJTXNj (ORCPT ); Thu, 20 Oct 2022 19:13:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34664 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229987AbiJTXNb (ORCPT ); Thu, 20 Oct 2022 19:13:31 -0400 Received: from novek.ru (unknown [213.148.174.62]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D06622C63F for ; Thu, 20 Oct 2022 16:13:29 -0700 (PDT) Received: from nat1.ooonet.ru (gw.zelenaya.net [91.207.137.40]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by novek.ru (Postfix) with ESMTPSA id 6BCC2504EE9; Fri, 21 Oct 2022 02:09:19 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 novek.ru 6BCC2504EE9 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=novek.ru; s=mail; t=1666307360; bh=PWPF28jNvDKwe5/eG9ay5Tlt5niLemrEkwUDMl/7xf4=; h=From:To:Cc:Subject:Date:From; b=I41zMxo9xntx+84FPLMUcTw36GbEED9G+GqzRUTLjAVe09N3NRH03qJxRS2TPZyu+ Yx1H2O/NXQUbJ99j0QpvMAn5LFxjbvH52sieHahkMtHl5UnjDGqp92CcnXIZACLTav ex8Rp+rsv4LMvRBb/Ta2xSg/+5pnyeuNENrGSCII= From: Vadim Fedorenko To: Richard Cochran , Jonathan Lemon , Jakub Kicinski Cc: netdev@vger.kernel.org, Vadim Fedorenko Subject: [PATCH net-next v5 0/5] ptp: ocp: add support for Orolia ART-CARD Date: Fri, 21 Oct 2022 02:12:42 +0300 Message-Id: <20221020231247.7243-1-vfedorenko@novek.ru> X-Mailer: git-send-email 2.27.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org X-Patchwork-Delegate: kuba@kernel.org Orolia company created alternative open source TimeCard. The hardware of the card provides similar to OCP's card functions, that's why the support is added to current driver. The first patch in the series changes the way to store information about serial ports and is more like preparation. The patches 2 to 4 introduces actual hardware support. The last patch removes fallback from devlink flashing interface to protect against flashing wrong image. This became actual now as we have 2 different boards supported and wrong image can ruin hardware easily. v2: Address comments from Jonathan Lemon v3: Fix issue reported by kernel test robot v4: Fix clang build issue v5: Fix warnings and per-patch build errors Vadim Fedorenko (5): ptp: ocp: upgrade serial line information ptp: ocp: add Orolia timecard support ptp: ocp: add serial port of mRO50 MAC on ART card ptp: ocp: expose config and temperature for ART card ptp: ocp: remove flash image header check fallback drivers/ptp/ptp_ocp.c | 566 ++++++++++++++++++++++++++++++++++++++---- 1 file changed, 519 insertions(+), 47 deletions(-)