Received: by 2002:a05:7412:bbc7:b0:fc:a2b0:25d7 with SMTP id kh7csp697008rdb; Fri, 2 Feb 2024 00:41:38 -0800 (PST) X-Google-Smtp-Source: AGHT+IHg9SZu4jfKXC9SBW+uKXwU/ZCWHN3QsSv6VxVls6o0RqfdNercBJIbOXmTq00cH6KKbn5T X-Received: by 2002:a17:906:2819:b0:a36:7dd8:637f with SMTP id r25-20020a170906281900b00a367dd8637fmr1066181ejc.23.1706863298469; Fri, 02 Feb 2024 00:41:38 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706863298; cv=pass; d=google.com; s=arc-20160816; b=L/1mLbUE2/9B48j7cb/5c1sf0buzxXHJjLrfbdZfJyIY3wBbgx/Kvjle3GOApvsq/w low7amYNJ7OySXJ/0mCWVhoMxmwPBBl3sT1EZB7+SItNSBBpdLmND2ujEYNIEH9qK+70 WyPOqw8C4msPXbpCmwKEbcMyIoBH1woORK1bxBKjMrlVJh5g5L6Y2BZN2guCcxqv0XHV WWdGb2aAW70jPwd0FNzLqYxX2MAi+xTEpreKrR0rrMdG09RI/RjZnFKncnLsjbrwqY4H QPX5EzHyvHhCAxE6wY2XL8m+UJJ1uf0Yz3KBKzVnBgnK9EQiZ9n1VjJ2TaQQNSYkRbhc gTsg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=iHKQ78QQnBXdM5NexBaC3kdL6BR/8TDhZh5GGSia/Og=; fh=IH4oLPaFE+jxGiit7/gSS3cx4eWVKGy3MSWpSh0rUZQ=; b=gPPOmC33E0bhKGcCXUaMBu4E5RN5lMbW9xoGFLRJ/U/L7SC4pv0IigV4pEL+OROK0p ky5tz6/0A8bYuMdHBl6tcgso0ZXqpuuScnFaSvNKkgWyGrMJ8uEED9DFSqCbj1rNOz8c JInwFVCj8/m6Jrjlhw5sI8E5sQSVG5eFjvevEitwH0TYtyIx9iBG96o96fa4JOlAF3Jx ZDyYJuWbcAgcHYWf68TjKg9C0gcLs+7JK12LsVXJ6fZUPqJXVNJKq6ca+utVYbFCrB1t utLTi3U58ZZrm+zUWkIKTirdgbd0Gnal1gOJGRwp4Cj+JoDA6wtd2MBQNoVJCEelZnBs g66w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mcibuihy; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-49478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49478-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org X-Forwarded-Encrypted: i=1; AJvYcCWri8L1f3ixmLQLK2tOal+mGMZpTeNPJoOsk7MVAPQNeAPx2V1YQGyzMFIoyAcddcE4hKvLLqtvqwiJIzKnI5iEY9wXCoOGdR6bLuq0Jw== Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id h22-20020a170906111600b00a35de802c03si608207eja.243.2024.02.02.00.41.38 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 00:41:38 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-49478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=Mcibuihy; arc=pass (i=1 spf=pass spfdomain=linaro.org dkim=pass dkdomain=linaro.org dmarc=pass fromdomain=linaro.org); spf=pass (google.com: domain of linux-kernel+bounces-49478-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-49478-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by am.mirrors.kernel.org (Postfix) with ESMTPS id BDF311F23BE1 for ; Fri, 2 Feb 2024 08:41:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 6DE10405F8; Fri, 2 Feb 2024 08:41:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="Mcibuihy" Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EE51D17999 for ; Fri, 2 Feb 2024 08:41:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706863268; cv=none; b=FHdLC1mK78RdrABZaQWApoD2J96lzY+wF9BwdIuMniycIdC7poBfEWvanYdRuP6xmimA8wlmsdy1FdHjIKVObOiIb6LcC8h/aziq3h5IDNfF6RTzF4K/rK3yLnuGAKbVwx/aftZLUHUqQaynxwQG2gfyx3IcCM5R4ZemOYmtUKY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706863268; c=relaxed/simple; bh=3Z8P50PkuZaBvlmx/OaFJ91y4sTuVBubXMK9RVN1S5I=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=qSN9xX/2qJpoC8QqSS8qAvKLfudzhC3zriVmD5mVVsJKg3to8bv0FReTX9zJkbP6gicujjRs5YL5sN45c845xxkf2mhb1AKR9Zt3M1/lo2R8+1GhX3Lu/QgskUn4rzTDfOoJ0jUfq/XqH4ORbEvRjSroREorRgio0XXAWFBlCFM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=Mcibuihy; arc=none smtp.client-ip=209.85.208.53 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-55f0367b15fso2405814a12.0 for ; Fri, 02 Feb 2024 00:41:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1706863265; x=1707468065; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=iHKQ78QQnBXdM5NexBaC3kdL6BR/8TDhZh5GGSia/Og=; b=McibuihyT9qffX25GRD7qaL3Y0IssmZmQPEkHE8OBvdjn00+Phc/J4Ox4KUqUflfB7 ELwjlQ2uVFi7V6VSz7ZcDW41Yiogfdh2r+bQFKQtfTVwvGMgoPSJmrx7uDCkSIWQpi5B 1WG5dqzfcVRNmmhfoEo1Hr3C8Eb7dv2jmvhJkc80SxPAImSkcoxoiwS7gOVKe0HfMQWd 2fFzTkg5ReFDgN2ggaxfmlznqWWULZqfEoedzy1hwRfBXz3hhVNTxHwup0nkZWQJuR0j uTD2uc0+s367v8s/HHNCjvs8+zyg3ivait08n7i7RzUUx6nK81kbHzHlEvA4D6qlTgMZ b1+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1706863265; x=1707468065; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=iHKQ78QQnBXdM5NexBaC3kdL6BR/8TDhZh5GGSia/Og=; b=ohBgkUkQxyDiFdu86Q0NJsnRwcaP/5XEVs977WezCTI9neXXoOb+krMfD1Cz3mcUCp j0tun+usWsOtxNi1gvbrNgsxVBMHNrFJCSH5VtJnE2JmuuqMOu4N78omB24Zn+hWz+YS YKm9H33l49gM/Lvo+Y5IKAwyIthUz3JSiWRs/N+mMza+yenr3qboA5HsVWFoiecCWqzk zXwrEbPU3lzv64tqmNzBEmSkACdGmx7TallVBACBbF8zGdt/Uftyg91NuOUxyUCaqYDi 8ih2v8jL037kpcEZVSkCbKiMAvJ58psRcPXTM/9lKXhLqJrPAt+n8uGKWCsdgF5zepWD GF6w== X-Gm-Message-State: AOJu0YwMlbbiuAoQdf1S/W82NM5qal23LV2yevLcy0tk4u51u7yvnwiA KrQ4nff9lJThUAqNLvBilhTyxE785ieSeKugQXZUkQEnp3STniyFe/rdDfzrU1w= X-Received: by 2002:a05:6402:1343:b0:55f:a7d6:fd61 with SMTP id y3-20020a056402134300b0055fa7d6fd61mr686448edw.26.1706863265064; Fri, 02 Feb 2024 00:41:05 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCUqzK2jUUQeWimymreX14ZMUZ6d5k2goenvNKKFTdvP8lmDsI9dk9UHeIrrX7JYJ6BAttbfPBdoMHJJegVfGSu7rY1/wejxPS+GHtMenZxnqIoCE5QGvePGD9HPAKFe8ubwq3+JJDxNrPs6Rkz1YM9uFzXBUyDJmRTZBe+RifdOKyBFub5FcGUZJ7LEWIwkooaD2rCniMSdDmXHw8n6y2xfd0KH6pmj/yXIHNs2SbXCoYhb/ExV0cl9XI+sXo7W3ZQk9lnnDM5kpdiYnN0nb5V5wQ+yu1uO6R7vKvT5COTrZ8R9J2mxZZ3IsBFWIgtOj7ARu/4= Received: from linaro.org ([62.231.97.49]) by smtp.gmail.com with ESMTPSA id em7-20020a056402364700b0055fff31ee27sm113934edb.43.2024.02.02.00.41.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 02 Feb 2024 00:41:04 -0800 (PST) Date: Fri, 2 Feb 2024 10:41:03 +0200 From: Abel Vesa To: Konrad Dybcio Cc: Bjorn Andersson , Manivannan Sadhasivam , Lorenzo Pieralisi , Krzysztof =?utf-8?Q?Wilczy=C5=84ski?= , Rob Herring , Bjorn Helgaas , linux-pci@vger.kernel.org, linux-arm-msm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2 2/2] PCI: qcom: Add X1E80100 PCIe support Message-ID: References: <20240129-x1e80100-pci-v2-0-a466d10685b6@linaro.org> <20240129-x1e80100-pci-v2-2-a466d10685b6@linaro.org> <30360d96-4513-40c4-9646-e3ae09121fa7@linaro.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30360d96-4513-40c4-9646-e3ae09121fa7@linaro.org> On 24-02-01 20:20:40, Konrad Dybcio wrote: > On 29.01.2024 12:10, Abel Vesa wrote: > > Add the compatible and the driver data for X1E80100. > > > > Signed-off-by: Abel Vesa > > --- > > drivers/pci/controller/dwc/pcie-qcom.c | 1 + > > 1 file changed, 1 insertion(+) > > > > diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c > > index 10f2d0bb86be..2a6000e457bc 100644 > > --- a/drivers/pci/controller/dwc/pcie-qcom.c > > +++ b/drivers/pci/controller/dwc/pcie-qcom.c > > @@ -1642,6 +1642,7 @@ static const struct of_device_id qcom_pcie_match[] = { > > { .compatible = "qcom,pcie-sm8450-pcie0", .data = &cfg_1_9_0 }, > > { .compatible = "qcom,pcie-sm8450-pcie1", .data = &cfg_1_9_0 }, > > { .compatible = "qcom,pcie-sm8550", .data = &cfg_1_9_0 }, > > + { .compatible = "qcom,pcie-x1e80100", .data = &cfg_1_9_0 }, > > I swear I'm not delaying everything related to x1 on purpose.. > No worries. > But.. > > Would a "qcom,pcie-v1.9.0" generic match string be a good idea? Sure. So that means this would be fallback compatible for all the following platforms: - sa8540p - sa8775p - sc7280 - sc8180x - sc8280xp - sdx55 - sm8150 - sm8250 - sm8350 - sm8450-pcie0 - sm8450-pcie1 - sm8550 - x1e80100 Will prepare a patchset. > > Konrad