Received: by 2002:ab2:6991:0:b0:1f7:f6c3:9cb1 with SMTP id v17csp851455lqo; Wed, 8 May 2024 18:08:18 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXDwjAV7RWQImxMDN9DF6euHVIZhUCifrz5u8cGmHsMzOTe04Z2XAb+kIDWeG+RCMCPeecVeIxBNttp4VoQ/l5EdrGJPsLxd/w9uU1MaQ== X-Google-Smtp-Source: AGHT+IFEEbypLMR61p5qTxrvp/ffPD4fZATyqwMiSqhIesSbsYohrPftopoXyZMisi8MNZbFtAX8 X-Received: by 2002:a9d:7383:0:b0:6f0:6b5b:11ca with SMTP id 46e09a7af769-6f0b80dee1amr4010007a34.32.1715216897640; Wed, 08 May 2024 18:08:17 -0700 (PDT) Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id af79cd13be357-792bf30b282si24387085a.293.2024.05.08.18.08.17 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 08 May 2024 18:08:17 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-173998-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@marvell.com header.s=selector1 header.b=umU2AdMq; arc=fail (signature failed); spf=pass (google.com: domain of linux-kernel+bounces-173998-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-173998-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=REJECT dis=NONE) header.from=marvell.com 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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 506571C20833 for ; Thu, 9 May 2024 01:08:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id A857613A3F2; Thu, 9 May 2024 01:08:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=marvell.com header.i=@marvell.com header.b="umU2AdMq" Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 47B8F125CC; Thu, 9 May 2024 01:08:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=fail smtp.client-ip=67.231.148.174 ARC-Seal:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715216888; cv=fail; b=n6hcLCxcxiVTXc1VV+MRu8dqsCRCdTaO3bc6UddIVsl0UlUz6S7gF6hMky5Ia18cVtVDeDfBHSjdnlOjkmrUf63J7vjMqEC1E6es1yaC7Vxl6xjHnHIaLUW549/hIlPZNn+qXw0hifAllFRMLkx+A5vPjgFo2zarkqgGm+S+4lY= ARC-Message-Signature:i=2; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715216888; c=relaxed/simple; bh=pB57HQS8H71gv/B4MaxE1ZcQTClRxtbLv4SNxSmdMFw=; h=From:To:CC:Subject:Date:Message-ID:References:In-Reply-To: Content-Type:MIME-Version; b=gKzgohXMp84EluUR856k1pz2NpQPusgXBr9pBUhls3uRv0CjLqvY6faei0CKFwVtMEuditIkhBjs7s696XrXG5WJnr3Hco+s+LKhd0T4pqD25vY0oCPgozLIY+8kfZpHr49LWkEkLBqSCEqEvpwGa1rJfQJsNhPTl5d40Nw9zEc= ARC-Authentication-Results:i=2; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com; spf=pass smtp.mailfrom=marvell.com; dkim=pass (1024-bit key) header.d=marvell.com header.i=@marvell.com header.b=umU2AdMq; arc=fail smtp.client-ip=67.231.148.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=marvell.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=marvell.com Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.18.1.2/8.18.1.2) with ESMTP id 448NOrJE003000; Wed, 8 May 2024 18:08:01 -0700 Received: from nam02-dm3-obe.outbound.protection.outlook.com (mail-dm3nam02lp2040.outbound.protection.outlook.com [104.47.56.40]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3y0b2d2gam-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 08 May 2024 18:08:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=iQbCQvge4aGwWHmjOPhbYqMTEMNsTn/k44pF7eADMFslWAt8mHQzhouaVBV2N8p6vTwluLv5RWmKe26vcyC82FZ65rhp1RYkPO/7qK2OD8yOeouyhBL4lao3GpyfGGT/4AnncfcI4G1zG9lDMIblo3J46ZUHPKu+PowRMccCTs3PMJ1VrYBpYZEhrpcH1HuSTiEMyMC2fp4w9CoYTEwqh02VHjRs2PsrN3ExZwzZvnJSkMD9EQrcB60eQ9VOS/XUeSXTHpWaVoZUTD0/tXXdedMjbpqEIKQyNiIgrGBcYWwvrKMxPJLZlKUB2NHx4oiycFYtzrGCUVs569ZesVOEkQ== 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=pB57HQS8H71gv/B4MaxE1ZcQTClRxtbLv4SNxSmdMFw=; b=F2SfByjEK7SYjz3eljsrTGXPbNjctqODVtE/5wKG4H1j1sxU7BqCiv03KoV82G2WTQym46iMWGJr9mU4VthodOJsLwYw2fVs0vRTO42bisqJBgDIVFoIKAFPd1bLVA+ktMxZ1jCgy6eDq06w80SvzyD6vdiZXG9RJ5Q3Su2YyOcZNqz4YEIQl3+Ymwh/MepXnbUU9xsfbjS8lNVB15NYk9mq3gZs3aFGmk2SAsJAtryi+LVYlXTUotIsOuXS3EjM5KexueA8a3J5bVAiQXNz2Hnx3bA8kflO7LWgalO9RVTb5UW4hBr9VJJcHulz6uTM/quCJnDpBlex7LhkmwFm4g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=pB57HQS8H71gv/B4MaxE1ZcQTClRxtbLv4SNxSmdMFw=; b=umU2AdMqKRULIZQzTtzojFgmtDR3aLZtmzu4U0XMfkpen9hCGhRiXOT6exhBgDe/cK4KZajyyfhS2G4x8E6gldBGWtJ6S0ZXyP0LciD3QaFPpHms53Gf4SoJ7+PCiNLdRBKkDbBNBq862aqj/8QX26lMiyNdiqCht/6cPZX19EI= Received: from CO6PR18MB4098.namprd18.prod.outlook.com (2603:10b6:5:34b::5) by LV8PR18MB5985.namprd18.prod.outlook.com (2603:10b6:408:222::5) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7544.42; Thu, 9 May 2024 01:07:57 +0000 Received: from CO6PR18MB4098.namprd18.prod.outlook.com ([fe80::5331:f53:fcd:d7e1]) by CO6PR18MB4098.namprd18.prod.outlook.com ([fe80::5331:f53:fcd:d7e1%4]) with mapi id 15.20.7544.041; Thu, 9 May 2024 01:07:57 +0000 From: Witold Sadowski To: Mark Brown CC: Krzysztof Kozlowski , "linux-kernel@vger.kernel.org" , "linux-spi@vger.kernel.org" , "devicetree@vger.kernel.org" , "robh@kernel.org" , "krzysztof.kozlowski+dt@linaro.org" , "conor+dt@kernel.org" , "pthombar@cadence.com" , Piyush Malgujar Subject: RE: [EXTERNAL] Re: [PATCH v3 4/5] spi: cadence: Allow to read basic xSPI configuration from ACPI Thread-Topic: [EXTERNAL] Re: [PATCH v3 4/5] spi: cadence: Allow to read basic xSPI configuration from ACPI Thread-Index: AQHakS3IEG1hJ0bMHU6EYeq4uC1r/rFuT7AAgBEONvCAASjLAIAMkjUwgAA/fYCAAN+c8A== Date: Thu, 9 May 2024 01:07:56 +0000 Message-ID: References: <20240329194849.25554-1-wsadowski@marvell.com> <20240418011353.1764672-1-wsadowski@marvell.com> <20240418011353.1764672-5-wsadowski@marvell.com> <16a4a58c-cae6-4b62-859b-3661c052468a@linaro.org> <2dc18bdd-0c82-47a2-b87d-b69028f3b251@linaro.org> In-Reply-To: Accept-Language: en-US, pl-PL Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-traffictypediagnostic: CO6PR18MB4098:EE_|LV8PR18MB5985:EE_ x-ms-office365-filtering-correlation-id: f2a96c4f-6605-44d3-7f65-08dc6fc47667 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0;ARA:13230031|1800799015|366007|376005|38070700009; x-microsoft-antispam-message-info: =?us-ascii?Q?2PywKCj0JPV0vM/PS2kxCcmbn/tGEuv2ql948/gp7rEeBWBWvkBtx2AaQi+P?= =?us-ascii?Q?kSM9bzlFzIze8Owh/wllzem7r4sB4gl8EDIYNegAreh6hD+ZfZ2ohxPqWjPm?= =?us-ascii?Q?E2xzy4+xjqFTNGd+M7LdZlThrUHAtFbViVe5njwat1D8D0vgpayS0dnKSNGY?= =?us-ascii?Q?Y8aP/6Xwrnd5gf+K7RDzBqQF3Ba15S2NsqiiLiRTRmmXhi49EkSTjqAoktHW?= =?us-ascii?Q?jg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M0VTKdarBjrERHdf9P?= =?us-ascii?Q?VKrSpBmGszkEPwSPLRqQtGJtcxT6IzROKsNTq1uP942wLIQDf7NUpELRTBeR?= =?us-ascii?Q?mFJGVW2zHpR81fzZfch5OoWpoJ5lEJiTF8h/d0msghhsA7Atjdl2zHdDjbVS?= =?us-ascii?Q?SbID228yPXg8Ee/TIooXXd/aDQzAAXXd8tF9sIKdQNuTumdAO9DI8XgPnZ4E?= =?us-ascii?Q?3o8CmMPG8NEJlR4p7mfqBKvGjoVY4VfkhBfHuoSpKpauKQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:CO6PR18MB4098.namprd18.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(1800799015)(366007)(376005)(38070700009);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?puAGTMKQKrKK6AI5MJiwN1WRyJlE+L7XdOh/Z30eOkqPSZJCV8jVdeBPOz80?= =?us-ascii?Q?z7Kg5lz3XXNQoSUzh/mjKGcRNXGA3rwxBxedEjGCW8fXxY74/NnO76jpkAjH?= =?us-ascii?Q?hEMLzBVSIQ8Rwb/frXdCZJhzZZs3ZbJAm6DdZevGD/g9+OE0EidcjUmYOg9s?= =?us-ascii?Q?AYDwcG16rUCF715ANQy8xxSR3aQkKDxsTYLf4U66AAq0jkuEbBABSBlzKqWW?= =?us-ascii?Q?fG60FKqY6gFIpop9UlZDilWlA+BwcT35wSWbWx+rSPQdMNoDIsil7S3FHata?= =?us-ascii?Q?CbrA+A8nCBBA8gNjsUwX30UuQf7T9Njyr4uAof62jLWDXLBh7wTpL9jaffsT?= =?us-ascii?Q?JdDPtrtEO2NIGDPv7lPuxKKAJ6YPZInq94dWdCnJt0opIdXbOf1N5J4R6aqm?= =?us-ascii?Q?f8qHtm2K5o4RHJAiqXlh6GZ1EqkTHfuYvjl+L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SL2/Llp7uFZttmCHbZVSYtDzR1wVNuqIosZfCeA7GnNwMTxy9J?= =?us-ascii?Q?Qq0Lu/p8XMe1ae8k6imf8llbvut8ySOPNRShW60qMg6QDu5Sr4yW+wW48nne?= =?us-ascii?Q?/7RTFwiiXxQrWgLu8HBBlrLfqAwpNHpvCq4mYqNkFBHcD5pXglZYr7vizfwc?= =?us-ascii?Q?S+mBODWWXCX0Nf6gVqlYQ0UOsJKnmgkvQ5GuPmTRNZhvRnKav0Dkc3I5T0XU?= =?us-ascii?Q?3oRuECIw4foKLmrDNtqFbzGOmcFI2V3R1a7fj+on?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4098.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: f2a96c4f-6605-44d3-7f65-08dc6fc47667 X-MS-Exchange-CrossTenant-originalarrivaltime: 09 May 2024 01:07:57.0377 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: XeER1XjPl9gIQ/X7+jiokwfNmVOjk1FRfh6+SkHVLU20xgTzdcsZYMr00v+k5f+PWqYJ49VN2XmXBJkHbb4gNQ== X-MS-Exchange-Transport-CrossTenantHeadersStamped: LV8PR18MB5985 X-Proofpoint-GUID: cz0sLq8gGfYIk0SorMRgMleMk_wL5gHf X-Proofpoint-ORIG-GUID: cz0sLq8gGfYIk0SorMRgMleMk_wL5gHf X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.293,Aquarius:18.0.1039,Hydra:6.0.650,FMLib:17.11.176.26 definitions=2024-05-08_10,2024-05-08_01,2023-05-22_02 > On Wed, May 08, 2024 at 08:04:49AM +0000, Witold Sadowski wrote: >=20 > > > > I have come up with solution, as I wasn't able to find similar > > function that will work with ACPI and dtb on the same time: >=20 > The usual thing would just be to try both an ACPI match and an OF match. Ok, thanks. I thought it can be done in single step.