Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2536151lqb; Tue, 28 May 2024 03:05:02 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUB8hAD7PByN0OJmcJWNkgyF85c8qN6ZYjA/1/ghqx2dD6nxtYKC16aQ6To7Xps+AzYGyQKHlDZOJ11j+b68ciF8ZvdpTBjzYFuqOvxlg== X-Google-Smtp-Source: AGHT+IF/qVY6I5LQLkkZg6wZW8jmCNwXPEAdFlTPhZ7hKeCbvKvhMDOIBwcGthLh1hxab/U3Trq8 X-Received: by 2002:a05:6102:3bc1:b0:47b:fd01:3034 with SMTP id ada2fe7eead31-48a386be08cmr9304115137.17.1716890702741; Tue, 28 May 2024 03:05:02 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716890702; cv=pass; d=google.com; s=arc-20160816; b=PUo9iw1ZmdVk5pfoBs9xGQQ3aGrBaDuHtOeIPxKf1b8dP0GWe6S1l6U8y8Gi8/UZ+y lvq4nRXRXWFGUp0W/YIbCDtGzdkA2Jc2xEZWYWZTzYRkDT3hBwSBBfRTT9zaPYqr5Caf Cpr+mzTgxQ11mXnqFBUrm1GE1CzrTrxgvTQb+PDDFtnOcjL6vmz57QagJCOTEAxkd3/d rA490AE8sRQnGDxeVX2JRoFAqQugzn2BoDEV2Zhd48yLnR7Zdu2cR7tpwVf+lVGOnGr6 LLtwyJTjGWBmcEjSoBPlA4s1tjlm7CVV3Cprdj19lbAALrwL7Pa3yFhMt3s7U3CoJet5 YOXA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:message-id:date:references:in-reply-to:subject:cc:to :from:dkim-signature; bh=3vkqjShmVbfcAxEtVWL2j8Hci5pLGBTVlar7XdZHH0Y=; fh=FkEzoF/OqKPqe1ZeQ4GfGCEqUKbTvG5n5Ug+OywYCuA=; b=ps88y+NaQZCkVjBoNyjOIYa5kNnXMFiwsR3skj6c8qvMQVqaBZmRN+jjKHS3twYxTg O1EM5q0hIwglkcZKRR0MZc92rJLJr0T7hfDMphtzxn5/XjTJXNz4mFMGX2ybAQqj8OfC 3CSGLwCDI3eBc7vEFthm/WJTCPohmu7LXaxOLGafZvY9iBfkTi+pUhXVVgV0GuuqCoGH s73ltFlzTc1aAaMSQlnliYt/Qjrfo+vVf5yUcRCZDH/2iPq3foWVo7JYaSH01Vb3c1M0 A/SlIIiGCvM2DVDB/88J/g/nN+87HAe7WWdv8z52NgK9IQAsqCWrHIntzKZQOpj1YhCE vTTw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=muSwFo9x; arc=pass (i=1 spf=pass spfdomain=geanix.com dkim=pass dkdomain=geanix.com dmarc=pass fromdomain=geanix.com); spf=pass (google.com: domain of linux-kernel+bounces-192072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.com Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id ada2fe7eead31-48a3a205478si1773959137.15.2024.05.28.03.05.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 03:05:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-192072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@geanix.com header.s=default2211 header.b=muSwFo9x; arc=pass (i=1 spf=pass spfdomain=geanix.com dkim=pass dkdomain=geanix.com dmarc=pass fromdomain=geanix.com); spf=pass (google.com: domain of linux-kernel+bounces-192072-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-192072-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=geanix.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 8D2A11C2505F for ; Tue, 28 May 2024 10:04:02 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id B89BC13D513; Tue, 28 May 2024 10:03:55 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b="muSwFo9x" Received: from www530.your-server.de (www530.your-server.de [188.40.30.78]) (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 1F0CDF9DA for ; Tue, 28 May 2024 10:03:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=188.40.30.78 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716890634; cv=none; b=fGj/4xdYwPSXs6qfBM8Vb6roti3vNDvP2zFQPiBb7prtSOylL8GK0M9VPXQXsEMf94kJwUF4Xb6+yLJF/vjkGYDG3gAJTt5kwP2DRdo4hzzlzl2YxnnPv0PXEbEtzHv12ZD6vrLFpUJq8Q/768GpkKNQwBHBGPm1+ZoQFSKkcE8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716890634; c=relaxed/simple; bh=BrWcWsTqAV4gpOrjkMiIV3VNt4iF3Cy06e8mt/ZYCBY=; h=From:To:Cc:Subject:In-Reply-To:References:Date:Message-ID: MIME-Version:Content-Type; b=WBsEPozsvMQHL4JwS6ThxQeizVnfr6QA2JhUzH8DYHlcJzkDjWRcMhjXEFqHIzXvlliB7u3+lPqeqM80XjN2HE2tT+guedLsl0rCHut+X8WKoAofoCSdk2u/PRERzBti4YRZoD/UWdRyqqnqaWozpw/EPZkVj1FIBVuqK1b4UwU= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=geanix.com; spf=pass smtp.mailfrom=geanix.com; dkim=pass (2048-bit key) header.d=geanix.com header.i=@geanix.com header.b=muSwFo9x; arc=none smtp.client-ip=188.40.30.78 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=geanix.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=geanix.com DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=geanix.com; s=default2211; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID; bh=3vkqjShmVbfcAxEtVWL2j8Hci5pLGBTVlar7XdZHH0Y=; b=muSwFo9xnIVZK82AFfhTbeHPvZ 2Pjtjzc29ioK5O4DlNZXIXuVCh1zZs5OPxszNAiktQ1SFMmjAXd4p4oMPF8afmIuD35HHB2fpAWhq jE+wV19X785cC32ycJ2vGctRMaLWorWFMoitfK4a3TYGS3ddAdRF9+aHV2AK39c1MCR4v4Jc2HHKE L+QluObx6e9gvMZLDECEzsUuEGVrQpzFCz5ce11B1aYq8bk8lxhW+3Slpwi3vDRBzYkNMCTv3NZaw 74WuPAtMvo2qE1bRjgNKoir9oYWrI2ZB1XWsRXng2NDQycYpjNeBOtJNTLE5zV0Yq4Z+QpSfKJzqs 5t3gRqBQ==; Received: from sslproxy06.your-server.de ([78.46.172.3]) by www530.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from ) id 1sBtgL-000FNN-GX; Tue, 28 May 2024 12:03:49 +0200 Received: from [185.17.218.86] (helo=localhost) by sslproxy06.your-server.de with esmtpsa (TLS1.3) tls TLS_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1sBtgK-000P2X-2B; Tue, 28 May 2024 12:03:48 +0200 From: Esben Haabendal To: Krzysztof Kozlowski Cc: Tudor Ambarus , Pratyush Yadav , Michael Walle , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Subject: Re: [PATCH] memory: fsl_ifc: Make FSL_IFC config visible and selectable In-Reply-To: (Krzysztof Kozlowski's message of "Tue, 28 May 2024 08:53:26 +0200") References: <20240523-fsl-ifc-config-v1-1-6eff73bdc7e6@geanix.com> <979fd913-050b-445d-9ca8-0ec6906ce3ea@kernel.org> <87cypc38gu.fsf@geanix.com> <9a7f73f4-f5dc-4342-855b-08df6a839bb5@kernel.org> <87le3zoatn.fsf@geanix.com> <6c166ad5-8004-4bc4-9107-a47ba9a72161@kernel.org> <87ttijaglp.fsf@geanix.com> <87msobaes6.fsf@geanix.com> <87ikyzae7v.fsf@geanix.com> Date: Tue, 28 May 2024 12:03:48 +0200 Message-ID: <87y17ul0cb.fsf@geanix.com> User-Agent: Gnus/5.13 (Gnus v5.13) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain X-Authenticated-Sender: esben@geanix.com X-Virus-Scanned: Clear (ClamAV 0.103.10/27289/Tue May 28 10:30:59 2024) Krzysztof Kozlowski writes: > On 27/05/2024 09:47, Esben Haabendal wrote: >> >> Ok, I seem to still be confused as to what you want from me. If you are >> saying that the kernel is not supposed to care about out-of-tree DTS >> (and thereby any bootloader provided DTB), I would like to bring your >> attention to arch/arm/boot/dts/nxp/ls/ls1021a-twr.dts in upstream: >> >> &ifc { >> #address-cells = <2>; >> #size-cells = <1>; >> /* NOR Flash on board */ >> ranges = <0x0 0x0 0x0 0x60000000 0x08000000>; >> status = "okay"; >> >> nor@0,0 { >> #address-cells = <1>; >> #size-cells = <1>; >> compatible = "cfi-flash"; >> reg = <0x0 0x0 0x8000000>; >> big-endian; >> bank-width = <2>; >> device-width = <1>; >> }; >> }; >> > > I don't understand why it took so many emails to answer that (my first) > question... Because I did not understand the question. Primarely because I was (and is) surprised that out-of-tree DTS is not supported. I was convinced that out-of-tree DTS was the right way for hardware which is not commonly available. > Sounds good, however you did not update the existing select. > Drivers are not supposed to select user-visible symbols (leads to > issues), so you need to change it to depends and update defconfigs. Do you wan this split into multiple commits, or a single commit changing the Kconfig to make FSL_IFC user-visible, and changing select of it to DEPENDS, and updating the related defconfig(s)? /Esben