From patchwork Mon Nov 14 12:40:48 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Wayne Chang X-Patchwork-Id: 19794 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a5d:6687:0:0:0:0:0 with SMTP id l7csp2121451wru; Mon, 14 Nov 2022 04:45:35 -0800 (PST) X-Google-Smtp-Source: AA0mqf7cpun7aJ0T6RM8+MqIpL7GscebozQTbbYEEVNEjeqHMfflxf+MT6MWlrSV0st5ST/SJ1Kg X-Received: by 2002:a17:906:4305:b0:78d:45e9:97be with SMTP id j5-20020a170906430500b0078d45e997bemr9822077ejm.565.1668429934831; Mon, 14 Nov 2022 04:45:34 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1668429934; cv=pass; d=google.com; s=arc-20160816; b=BVXMHbxFzjn/H08IrHbGyEOFIuGMGCDEChd2uDmO7IdbF52gT4BoTt3MnlFcHgd9iV QZaeeBdkJv+opaLYscV5OZUsKCqCRBsGaYW756W56kwGLlAFw/7wEfn23uPqT5y/Q+tV LbYNPsFllOEKrrK+T+gtvOSiXcSVhOiqCl44j5ENVnOhUL/APJwcxOBdDjpMGBSp6xj3 ydybfBGRwEkdMyj7TkzwcFDfjID1jTpGhIifXEkMjB8Uv1zs7uvcjVVGJSS9MA+OauCi 8D54dwtc/zQYzBRKnJPbrmUtCYFtV3GoMUjQQ7xYO91B/S0voOQpYaXBnC66g61IEuro fplw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=Mkg31uWIczzVSL0IZ9K9htk3BSJGDLuIyYuIp/rMne8=; b=V23dQiKPLNKiKqHSk/iBNAcK0xOLUe2WuRWEbD2BFnj7mH6krArDpBk1VDqXds0pwN JU3iqO/a63Na8tUDFNrwpd6v/A+/8unXpPV3hRYHK5qOo0YWBcMOq/5e6J7vPefWxKda 9Ob1JrzDNHHuojTn2Po9PpOCqLp7CefyweDxvBOkbMFG4/mSqyH9UnMA2bH0VNrHKn6Z FeuxYd1V0GI9MWjwQuA6pi9UFBcLCudTQt4o/Q3M93BoAMWx53MKJ9T0fo349BY8TMr3 dFlMT4sMRqpifyAmqEvGIesPZCRcsIrrCei3Jx0Ijuvx/efgrO27yoL7MgNFI6L6pF84 0dJw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@Nvidia.com header.s=selector2 header.b=uom3uupl; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id l16-20020a170906795000b0078e1e216396si8079939ejo.66.2022.11.14.04.45.10; Mon, 14 Nov 2022 04:45:34 -0800 (PST) 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 header.i=@Nvidia.com header.s=selector2 header.b=uom3uupl; arc=pass (i=1 spf=pass spfdomain=nvidia.com dmarc=pass fromdomain=nvidia.com); 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=nvidia.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237274AbiKNMm0 (ORCPT + 99 others); Mon, 14 Nov 2022 07:42:26 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237276AbiKNMmJ (ORCPT ); Mon, 14 Nov 2022 07:42:09 -0500 Received: from NAM12-DM6-obe.outbound.protection.outlook.com (mail-dm6nam12on2051.outbound.protection.outlook.com [40.107.243.51]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 14DBB24BE4; Mon, 14 Nov 2022 04:41:49 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=aWRtIPNYQc3SJZ/9CupoDUW2Kv1d3K48DjwxeLqrxfu8R9a6HQvE/CnfXJO5B/3mUzMHa86rxPYgQErmi7JNx/VKikSLXx47KlyoQRKUpWetLldEWRpSLNRXkRDMkdZdgcIWmLzdagVqwYp13uSmjkSUCDDTGJ4Z1zQwIZvMlo6Qz51qdAEnieEdM0d8wIDXCa7SlZNcdScQlKGJ6/ejT6tnFwyx95sslqOzT9oNlmH66fMPYojCtuXx6UnSDEYC0kJzU6TxXwgVd9vd9OCBonNL5DKqPtgK2xf4DeebRbypAdTxHNNXwQGHISGXUYdt596bzmlr7BRoE4x9w3xn3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Mkg31uWIczzVSL0IZ9K9htk3BSJGDLuIyYuIp/rMne8=; b=NC8liv9P3fXllsrBLDItGZ6m/TlvhC9wrliXBv/vslMJXvkNNkEFqwLuKTBGMpKwKKaJOWtxSBMw+iuZbm7gmdiYoNdiS3R88rjk9os0q4MaMNorn6mM7i3s8GvttpDCV2mtARFZkRESnj1fA5BRgfUcVZapojBHbr5yEVfJ82K0HpSk4MW3jGEXPrfqlZdLSsoamOqHtck8boacSNBt9FvHuqpvkk3ggVy+EIKDvcBibqYToWBvGBI88amP/MOG/beuoOWNghsV1FzShNs6YOEjHD5JrleYVBM/h8rPd6rwmZW9nyq711IELXKYH1UHsv47+D2i1Y26kN6Nzov4vg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.160) smtp.rcpttodomain=linuxfoundation.org smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Nvidia.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Mkg31uWIczzVSL0IZ9K9htk3BSJGDLuIyYuIp/rMne8=; b=uom3uuplX3zE0gAX7ZoQVZR4ME4JApRGZufU6qiWNyNzZER7P3BG1RHanOInumVuYo6+/qKPX7IkxOk96jFSINpXo6g5xoOfvXOifHpTJI0JO6tYefXWqlnxHGtL24FqTnNvx3VXMIo2xFTG1PWHCg5H29ecFvg7DGk6JpG1sKZBca+vYmWKhQ+rsEUXyyOykw/0x2hLMklV6p2TbfheRITbHkAPy/Ca6b2hl9Ogt6CoN1tLyovZcsTesAzxqxz0pDaQM3eepMc+pIKuoC+oSxm6mqEQ4LylpIEls7EM64TQLBN6vpV4giDLKnaDlCVN5soSZkw3TRTAuFzPMrkquQ== Received: from MN2PR11CA0027.namprd11.prod.outlook.com (2603:10b6:208:23b::32) by IA1PR12MB6233.namprd12.prod.outlook.com (2603:10b6:208:3e7::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.17; Mon, 14 Nov 2022 12:41:46 +0000 Received: from BL02EPF0000EE3D.namprd05.prod.outlook.com (2603:10b6:208:23b:cafe::c1) by MN2PR11CA0027.outlook.office365.com (2603:10b6:208:23b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.17 via Frontend Transport; Mon, 14 Nov 2022 12:41:46 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.160) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.160 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.160; helo=mail.nvidia.com; pr=C Received: from mail.nvidia.com (216.228.117.160) by BL02EPF0000EE3D.mail.protection.outlook.com (10.167.241.134) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5813.11 via Frontend Transport; Mon, 14 Nov 2022 12:41:46 +0000 Received: from rnnvmail201.nvidia.com (10.129.68.8) by mail.nvidia.com (10.129.200.66) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 14 Nov 2022 04:41:32 -0800 Received: from rnnvmail202.nvidia.com (10.129.68.7) by rnnvmail201.nvidia.com (10.129.68.8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.36; Mon, 14 Nov 2022 04:41:31 -0800 Received: from waynec-Precision-5760.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.7) with Microsoft SMTP Server id 15.2.986.36 via Frontend Transport; Mon, 14 Nov 2022 04:41:28 -0800 From: Wayne Chang To: , , , , , , , , , , , , CC: , , , , , , , Subject: [PATCH v3 08/13] usb: typec: ucsi_ccg: Remove ccgx,firmware-build property Date: Mon, 14 Nov 2022 20:40:48 +0800 Message-ID: <20221114124053.1873316-9-waynec@nvidia.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221114124053.1873316-1-waynec@nvidia.com> References: <20221114124053.1873316-1-waynec@nvidia.com> MIME-Version: 1.0 X-NVConfidentiality: public X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: BL02EPF0000EE3D:EE_|IA1PR12MB6233:EE_ X-MS-Office365-Filtering-Correlation-Id: 8cab6a70-c72f-4954-80fe-08dac63d979a X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cxyhOrw8A/c+p+li8J3fdIGKM6AQ+ibhhKIVAQ2pvVpGJad8sgzfRYlKoJ0pSKPXNiEcwqrFx06+S8SKLEOkXs/FR+0rgbJKnfjoB0zStNIVLV6bulBOOPkwz4Cd9jbRwnxLsMgKazxAvs8NAYMsQPv9Q1eHDHwL3oCGAhB2MM23YG3QDWqY9Yz3QlsJRfZca/1DvAu4p1DUjuudyUKO1AFGvFBjxH5owpKQbv0gjN783G1A3ywSS1V0kPvs1bTTD3D5b4u5eK2zwJy7Gln1jdpfVN97RzwbeBXgzJFC4Tc5Bd5pWyOBlun3ZCSaNGZaeT1GYXL2Ylz0jXSbnbrVjRipBoFPELz+CFnE8ityyozsYD9nT5l356+z7t709lKfxFPKuE1Cvwyh47dVwWGM/Zn0wB+kljMhQ1ridW6lrgBYM9fA7usBShJjATiDRpx1taJcKA5yr2NrE7p/bgkwajJWXgRlI9Rx2Lem7tjuUfoMmaPUwAADd6Uqj+I0nYr+D1vPizDv2M9aMVsV4OxbvJ0dlC+2XH0JXjepIPXsuzIL96Cj7lD2dvCCPRgC6Qv0UDzAE7Y/7IxD8Og0pYk4YXaqO7tDzP3GyYby+OLnMiFW0sPmjPcMyiPAi1iittxY5zAUynolArXB1n3oRkHC2ZWkhtfuf2b9GWL0HiUjjZMQfNAACXRHS7bVrV2k/bp5EdyrXBCy4YlUhRqzuf4KYKMJvcwxcWcPqwOVInoiGriUD/PKOmBIOR2i+oR1O6zuec+xY+DJ/bugabPTDtx7aJ0joo2LE9a7dnWP4H1oTlI= X-Forefront-Antispam-Report: CIP:216.228.117.160;CTRY:US;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:mail.nvidia.com;PTR:dc6edge1.nvidia.com;CAT:NONE;SFS:(13230022)(4636009)(39860400002)(396003)(346002)(136003)(376002)(451199015)(36840700001)(40470700004)(46966006)(4744005)(2616005)(356005)(7636003)(8936002)(82310400005)(478600001)(7696005)(6666004)(6636002)(54906003)(110136005)(2906002)(40460700003)(316002)(40480700001)(36756003)(41300700001)(921005)(70206006)(4326008)(70586007)(86362001)(5660300002)(1076003)(186003)(7416002)(8676002)(82740400003)(26005)(83380400001)(336012)(47076005)(36860700001)(426003);DIR:OUT;SFP:1101; X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Nov 2022 12:41:46.3261 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 8cab6a70-c72f-4954-80fe-08dac63d979a X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.160];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: BL02EPF0000EE3D.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB6233 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FORGED_SPF_HELO, RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_NONE autolearn=no 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1749475587110151186?= X-GMAIL-MSGID: =?utf-8?q?1749475587110151186?= Remove the property ccgx,firmware-build as we have added well-known regex cypress,firmware-build. Signed-off-by: Wayne Chang Reviewed-by: Jon Hunter --- V2 -> V3:nothing has changed V1 -> V2:nothing has changed drivers/usb/typec/ucsi/ucsi_ccg.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/usb/typec/ucsi/ucsi_ccg.c b/drivers/usb/typec/ucsi/ucsi_ccg.c index e412a457bbfc..eab3012e1b01 100644 --- a/drivers/usb/typec/ucsi/ucsi_ccg.c +++ b/drivers/usb/typec/ucsi/ucsi_ccg.c @@ -1359,11 +1359,6 @@ static int ucsi_ccg_probe(struct i2c_client *client, INIT_WORK(&uc->pm_work, ccg_pm_workaround_work); /* Only fail FW flashing when FW build information is not provided */ - status = device_property_read_u16(dev, "ccgx,firmware-build", - &uc->fw_build); - if (status) - dev_err(uc->dev, "failed to get FW build information\n"); - status = device_property_read_string(dev, "cypress,firmware-build", &of_fw_build); if (!status) {