Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp2463568lqb; Mon, 27 May 2024 23:53:47 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVbkLu96hNIaPoWtM1yX+yo/NkjwC1vEseS3mk7V20LGyBKza26zJWY8b9ZlKGCpGvlg8enQQ8ONIbP79GatAsbvm6ZttFk7jT+wWQAvQ== X-Google-Smtp-Source: AGHT+IGaZJPfwbNHjmzE58W0xPdl/h1aUc9yO+BD3VgP9mZNpJBp1jpsE3IR86bxFStUgFhd40Vq X-Received: by 2002:a17:90a:fe8f:b0:2bd:9284:d673 with SMTP id 98e67ed59e1d1-2bf5bafd4a2mr15574739a91.8.1716879227548; Mon, 27 May 2024 23:53:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716879227; cv=pass; d=google.com; s=arc-20160816; b=gjTjiwQxwVUQ0ScIJDJ3sFSSuHQ8WR5cksU/m30oUksb6rEVryvHcP7QqEwIyxqZmr ViJ8pg+54tU5KWed2TwbbSPGL7xMIxcris+CjfgvlZ2lkbtNmMqR8hkyOrbvHxYrdkxp qcjkVbqgD5AQBSZRO69meK5E+YNEHtHyDbICpwxSwkvo6vTC7jVjd4pLjuATUdWRzYvb MS/wt41pJGFK5OlWuSJsMPtiKGNxoP3vunww1aoHgN9XpuNakAKz/Ic6sr2CC3BWS0hm jWE8qo+MZcpTbwkWRU92//7gK7ahgIYpUrHk4PDGQkohPaHYxy7joXoSibuq8KknPGLN 2DkQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:autocrypt:content-language :from:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=gAQl5KPxiERIeU6CQzPiTRPPwtszC3yS3eN/wXaBEVQ=; fh=dTzYUhEr+9p53N3NaI9c1byX4h6v+RpdlLGiT2o3Ed0=; b=kXnWBsZBYzIZ/Og9lNtg8VzrV7+3DKkhcGJSPSBXC0L6P3AUiY1jC+Sa33i5pDwf2c RrANL3WOt4yEJvFPg2IiWp5bj5L5T1hC4dG5J0lUruiywRbD2q9qNrED7toNjvN6dcEx tvW1pTZ4ayG6aulnRZ5+ToDhWt5QWCs809cNT05tigbsMJAp+6lSWz8qZN9Am1KDvu+b 9jDARDJtETLkGNh/gTV31yQwYkPQKmP+f4J7n7y7/pschU+NsFsLh8468Q+4UrwMtOoP dwNyI7+xpMME2d1G4qj0MrbcqmA2HnJ2r5chMbhGNCBKeVtBClXjo0/rLeGAeMAQFvrr xPgQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fnlENPOh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 98e67ed59e1d1-2bfebf54768si1574527a91.0.2024.05.27.23.53.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 27 May 2024 23:53:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-191826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=fnlENPOh; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-191826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-191826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id DCB8FB218D5 for ; Tue, 28 May 2024 06:53:38 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 95DC66E61B; Tue, 28 May 2024 06:53:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="fnlENPOh" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B668B5339B for ; Tue, 28 May 2024 06:53:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716879211; cv=none; b=syFCJr0WapL6AKAfTOkjYj7Hk7RjlTzf1eoNEmJkOegYCb7ms+HZu7X8qKRoeQMsj16Uy0C5cD6BxMKu+EGIN44zVfhzKXtpwh+H3JmwS7fBKIWudwyWwUZUL07mceb2kiz1lANyRFFf0AvIyWBWOndwpAS2xKYghwP5X0PV8X0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716879211; c=relaxed/simple; bh=BArEwSrXwGGJ6krqRUj+LaAy+epmDL5fbbyry2xksTA=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=pgNGq/W/BQ75S4Cgi2MA9O/uL1jp2DknS0kUc9COIQjvp0B7F3xBQifvLFCMiHcLBlMufx/hUmL6TY+Mc4m/j+KF6xWUBOWt2MOZZij1Ek11H629FZu0NG03pG5Xd5eHSI5Kg24KmAhVAgmRlnlYWpctCT2UGA3xUIjN07G7S+8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=fnlENPOh; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3125AC3277B; Tue, 28 May 2024 06:53:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1716879210; bh=BArEwSrXwGGJ6krqRUj+LaAy+epmDL5fbbyry2xksTA=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=fnlENPOhDJDE7JqsEh1H5AeaYtZgq7/+fUSkrmztvTj7m+DXsnvDC/c1GimkJ1QuG uktkHOicEaafpgFSd11AyJn9SpdsGdpKlpHqmCkLwmWeBwVtWlbdyVVaY/V1bOpOD4 /KVzFURMHD4UMRNlQckT6uEqh/6Ozalf40L6Oe9QE3SMS3gLSXvFkXlI/aY1c3lEFl Msdaypbui04Tsj4mHq/E0FVFQdKDxXq/m9+F4BaPU0WcaiR4aAtoWEfZGRLdFjZzRO /ul45wsyzwTJFedSwfaSrk49PZmaXuw3GQHETrq7bOtUlG7A/Nba2Je5ZswD7IdG5s l7XOGPsS1sxcw== Message-ID: Date: Tue, 28 May 2024 08:53:26 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH] memory: fsl_ifc: Make FSL_IFC config visible and selectable To: Esben Haabendal Cc: Tudor Ambarus , Pratyush Yadav , Michael Walle , linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org 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> From: Krzysztof Kozlowski Content-Language: en-US Autocrypt: addr=krzk@kernel.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzSVLcnp5c3p0b2Yg S296bG93c2tpIDxrcnprQGtlcm5lbC5vcmc+wsGVBBMBCgA/AhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgBYhBJvQfg4MUfjVlne3VBuTQ307QWKbBQJgPO8PBQkUX63hAAoJEBuTQ307 QWKbBn8P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3g9hmCEuNSr+CLMdnRBY fv0= In-Reply-To: <87ikyzae7v.fsf@geanix.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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... 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. Best regards, Krzysztof