Received: by 2002:a05:6a10:2785:0:0:0:0 with SMTP id ia5csp237996pxb; Fri, 15 Jan 2021 01:52:26 -0800 (PST) X-Google-Smtp-Source: ABdhPJyENC2aISF/uYh6ewx67k/9f20ZnnrKCEzVPSk+DeW1LYdldCzGK7frtC7xewc3bAlxCSwk X-Received: by 2002:a17:906:b04f:: with SMTP id bj15mr7858171ejb.383.1610704346723; Fri, 15 Jan 2021 01:52:26 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1610704346; cv=none; d=google.com; s=arc-20160816; b=a7pylYI/vYcJYmRufRJZOZphv2Knh8CIukqXjVDttrMMEjkUOYv3aHezb8hXngz9xL zTPGV+3hTu8ANktfToc0trbjyNcDf3HJHL07OZKokJEkyG9Y4X5eVoSL33EyaxZR3EeQ ZFpfugNdrQ+cbTFtk0wEpmwXNHx9ImaHYmca+bRTPoEh75oSS/J9Dz8D9OqKtl1gaTH7 7A/8dmoyrMua9S32goEP1K4yrIK/MwncEci1ngnFCncP9Cr8+K9CwDTa1d4218W2EQsq CitD+EFqN0GDfhm8lX6G0i42u5oQRyqF4m0pAVmKmS4+qB462yhImktuy55Ram6RxZLG Sktw== 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 :message-id:date:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=SSu3h0jZYZ1FzV5ZFhzNhAMOkd8mCjXokoS2YchHemE=; b=0E0EtSJGO7K2bAFsrvcqhYPDu1BN65bWscl1e2J5UmZS+1ifvd8NOx9OdBiDgqjnhc atB5xOBSIQM2VJ13QBEHa6e3Aot+/nc0djA2iTW+fwoDCQQX40epcOLfr7aInhZixJSm LWukX6Up5vvzYFYcf6UyUA0UAKWln1G48Gegc4EDSxK8Eajn2resHIP6T7PhU7D6+HPb y13WoC28YZfINwPmVEWbTbNziTu7I9oTNH7fCw23k7/DbnX7eBAaBpy84uNdCNFzcHA1 8hZR4s4BsJ4Z5GSYn4BSinF0uimNsGZ7zj1kcW5A/nDhR8v99cJ1zkzbWOs0vjfaVG4R W4rA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id q4si3759687eji.541.2021.01.15.01.52.03; Fri, 15 Jan 2021 01:52:26 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730697AbhAOJu4 (ORCPT + 99 others); Fri, 15 Jan 2021 04:50:56 -0500 Received: from mga18.intel.com ([134.134.136.126]:51113 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726829AbhAOJuz (ORCPT ); Fri, 15 Jan 2021 04:50:55 -0500 IronPort-SDR: WcKDESq7H4ynFERcAiuFJDutXHrOgSR8bdXsDVoPCUJQpMhFsa8h4ZzzVe6XbSTsE9zaba2fE0 9DHx4/LDSPng== X-IronPort-AV: E=McAfee;i="6000,8403,9864"; a="166195715" X-IronPort-AV: E=Sophos;i="5.79,349,1602572400"; d="scan'208";a="166195715" Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Jan 2021 01:49:17 -0800 IronPort-SDR: ogNTLClcTE7XycGsagNh8CZ8d+3nIpa8dtTrJhgV+fBOcf75Yt0rJ05O8A2nv8KbMmNHmn3h0S J/oi4N1lmU/Q== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.79,349,1602572400"; d="scan'208";a="465538723" Received: from black.fi.intel.com (HELO black.fi.intel.com.) ([10.237.72.28]) by fmsmga001.fm.intel.com with ESMTP; 15 Jan 2021 01:49:15 -0800 From: Heikki Krogerus To: Greg KH Cc: Felipe Balbi , "Rafael J. Wysocki" , Andy Shevchenko , Daniel Scally , linux-kernel@vger.kernel.org, linux-usb@vger.kernel.org, linux-acpi@vger.kernel.org Subject: [PATCH v3 0/4] Remove one more platform_device_add_properties() call Date: Fri, 15 Jan 2021 12:49:10 +0300 Message-Id: <20210115094914.88401-1-heikki.krogerus@linux.intel.com> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, I'm now clearing the dev_fwnode(dev)->secondary pointer in device_remove_software_node() as requested by Daniel and Andy. Thanks guys, it's much better now. I also took the liberty of including one more PCI ID patch where I add PCI ID for the Alder Lake-P variant. I hope that is OK. Andy, I dropped your Tested-by tag because of the change I made to the first patch. If you have time to retest these, I would much appreciate. v2 cover letter: Hi Felipe, Rafael, This is the second version of this series. There are no real changes, but I added the Tiger Lake ID patch to this series in hope that it will make your life a bit easier, assuming that Rafael will still pick these. The original over letter: I originally introduced these as part of my series where I was proposing PM ops for software nodes [1], but since that still needs work, I'm sending these two separately. So basically I'm only modifying dwc3-pci.c so it registers a software node directly at this point. That will remove one more user of platform_device_add_properties(). [1] https://lore.kernel.org/lkml/20201029105941.63410-1-heikki.krogerus@linux.intel.com/ thanks, Heikki Krogerus (4): software node: Introduce device_add_software_node() usb: dwc3: pci: Register a software node for the dwc3 platform device usb: dwc3: pci: ID for Tiger Lake CPU usb: dwc3: pci: add support for the Intel Alder Lake-P drivers/base/swnode.c | 71 ++++++++++++++++++++++++++++++++----- drivers/usb/dwc3/dwc3-pci.c | 69 ++++++++++++++++++++++------------- include/linux/property.h | 3 ++ 3 files changed, 110 insertions(+), 33 deletions(-) -- 2.29.2