Received: by 2002:ab2:3350:0:b0:1f4:6588:b3a7 with SMTP id o16csp964451lqe; Sun, 7 Apr 2024 11:55:05 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUhPn0dIhCUBFVD9irgZfjCfoDtLfrw/OTwC7r6dW/LpfRQdSSHZBJnhFQbVvWMEc/mmz5tvzeBxaoApS5zIC17PEeO5PRx5sXClsih2w== X-Google-Smtp-Source: AGHT+IE78hQP9kvTVrnDjFFyoWcSEJs0YE6JyO544SrYtUlpWDaVX0csDCE0UNvf/y4avc3th24w X-Received: by 2002:a50:d75c:0:b0:56d:f035:7db2 with SMTP id i28-20020a50d75c000000b0056df0357db2mr4722299edj.24.1712516105421; Sun, 07 Apr 2024 11:55:05 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1712516105; cv=pass; d=google.com; s=arc-20160816; b=JxCgzj49Jt7q9pQZz9YlnUsD6duuyXM0qaFnuRwdkIqfietgMS7Zo+USH6bNoAk+0r HVGHWKle+ktpV/+HtUudXlWESoZusfZqtgGsa3IbnTXtSy9c73u4BPNaxpl6WFn6FJfS qGbDcb6xyN9POJVGbV+QweR0w8OH3A7tXMH46TfUiVIp7NUuEUI2ftSTGdhgiawnQraY D6HHm95PQAqrRcv41fNYAJBzzWOgJ4OoWB3+5OQ0py/79VNFDDsj0srBdbB9pqgJ0kur io+AE/GENKWiQKoao3D++8FKM7eFjRrFhVvJzqKVB+h4pFDzwYIhASi9i+HzxmUm4IWX PSzg== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:date:message-id :dkim-signature; bh=SRHNe6DXwYeiXKNaWOEzea5rcgNzeKm7MchGtxqe2UU=; fh=7D6Qtdl2YOU8NvuiME6nOm8JN1feNMbcVArExn8v3rQ=; b=AcyLIEfHBCZHSz4osCGz8PRMZsQ3NYXjh9M3/96dR7eEvZ6hkTu2/zvtcG8aMBWcQ6 nlsSRdbFjk3gh4zP2KEXNSuR06tG4sy4iQLHMB6XHsEeonjOPM3n0pjK5MF3w4DIfPjj A21Yqt5O2rPGIaxeFGFwzOD6i6xleFSZVHl3a7ogJwHVJmKCjnjqT2dvLuyKQTfbBYfb Ede2TWVUD25IUR/T2uycavyKY0uENm6AWOXds1DFamN8XkrOu8h/8ZYnEnYs6n0bGfRl xKxNEv/PKAb/RrAc/ZIB9Nd2qGkHqGGO6WlCWBUe2BKQ2XKIDMaTEVVSYzweZT7pnuMk UbjA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DnDs4/an"; 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-134613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134613-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id u24-20020a509518000000b0056e3bef00fesi2256355eda.623.2024.04.07.11.55.05 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 07 Apr 2024 11:55:05 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-134613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="DnDs4/an"; 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-134613-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-134613-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 0195A1F21CE0 for ; Sun, 7 Apr 2024 18:55:05 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4152F3D38E; Sun, 7 Apr 2024 18:54:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="DnDs4/an" Received: from mail-lf1-f52.google.com (mail-lf1-f52.google.com [209.85.167.52]) (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 258443BBFE for ; Sun, 7 Apr 2024 18:54:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.167.52 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712516095; cv=none; b=aSnug+jJyxH32LhTwx51cAg48JmuXd7glEe1BUKWjpoIm8KVzDqOWzAStI+9XSYRukjS2lraQpfaiF9E10kv13PWP18EA4J+y2zMOpVgZE9I+lvSU1bjoUPP3sSwuSy0TIhDZYE6AYLB4XlRePcdWIT6lSARumXn40Q7Q8tqHNs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1712516095; c=relaxed/simple; bh=958VAYYwBKwitLQ3/lk/PZYigEen4ofjsWiSZJUEHxU=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=lMeYO7ku3sl0gpjRCPZrFcXUu7thR6KLdqEXixjx2oEE/cZV37CvHewcI5mnkOrbKDxpEh9DZy2DxPpuWtiiMkCEa0gHhZeZwpaRQY7rL1McYRV3wdac1t7PjeMIVwyNZ1mJAP+FM83fBOueaNebk7CX5WBebXCnMXYSgByu5x8= 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=DnDs4/an; arc=none smtp.client-ip=209.85.167.52 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-lf1-f52.google.com with SMTP id 2adb3069b0e04-516dc51bb72so1441350e87.1 for ; Sun, 07 Apr 2024 11:54:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1712516090; x=1713120890; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:from:to:cc:subject:date:message-id:reply-to; bh=SRHNe6DXwYeiXKNaWOEzea5rcgNzeKm7MchGtxqe2UU=; b=DnDs4/anrYM68VycpL4sY0EdMiwrs2RuCRUFONFXk21UTsqqUD7bKcxdppEjh6LYHK 0xTSzIqT2WU0qh1AFGhCx7l+Ud8eSa/6c678CYRnmhq7oKjzgjulee3RAZvdnfM1XYPz 5K0rScNk/mbqdqFJpeki0Tqex2LNMO07lvkSv7m2gJIYZoPfdUDqlZcrhnyozAt0HnbL FhduW2KvWUjY3FUuM2cw0g+rsotzNK7aiJzxuQ6/TzrSi/iK1dDEF1Fzhlnf455UfmMR agU2xEyPOwSSW48mcvnn9oTJs755EHgFEBKrkxQ0Iumdcm10GqDG+IH1664KnCmLjfir bmtA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1712516090; x=1713120890; h=content-transfer-encoding:in-reply-to:autocrypt:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=SRHNe6DXwYeiXKNaWOEzea5rcgNzeKm7MchGtxqe2UU=; b=s7CtXm9t1nvVoRlOcGbUd94ZvO0BIEbX4yLqdRxoUACkB6AMTgI4mpqEly+Rb4GlUj 4tFFktoXD5+YjlFd3+uc3jSPZDELViynB/R670PDaaHgRoiNmHYtT0w8pFpFpYLQFSaw uQ36ZWsr5cStQQeRORZPeeEEkFnDpxWdYLDSYXq+aHfCE3H5NezHPkOpp86lqXpbUVHZ 3hk7YnZ6ExhhAgvyZwgC/qTaeS10fbYGEy72er6SLFUD15Xptrg1ajGgRBPKKYVUY8zT B20UB2exumi3WS08pnPqPHuP6BoVI89VC3ExRuDOk+12K1wv/YlapaGlGswFYLzbjStQ vKuQ== X-Forwarded-Encrypted: i=1; AJvYcCVBAEHkXvgW5ehpOemiArZJ94Tbaql4bubqyMxo1n4IquNbnRPbPQbXMSPNxO8slzjK1MvLPFpfqy6b9N6cVxuLheNXbKxI4oxfMceT X-Gm-Message-State: AOJu0YwLxs9M1YWWTctEsyMTVxRdKZSi8kowzSAQbpyLWyBkKM2tfhFl CjqgRalXZnIoy3wVJv+7+L0q0PWLQ3cW5yNFCIB4RtdjLWjFs4YyGls04Pyf7CE= X-Received: by 2002:ac2:5302:0:b0:516:7739:354c with SMTP id c2-20020ac25302000000b005167739354cmr4475280lfh.58.1712516090055; Sun, 07 Apr 2024 11:54:50 -0700 (PDT) Received: from [192.168.1.20] ([178.197.223.16]) by smtp.gmail.com with ESMTPSA id q23-20020a170906b29700b00a4a3807929esm3435350ejz.119.2024.04.07.11.54.48 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 07 Apr 2024 11:54:49 -0700 (PDT) Message-ID: <5fe5396e-c628-49e1-bec3-770847f061e5@linaro.org> Date: Sun, 7 Apr 2024 20:54:47 +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 v4 3/5] spi: spi-qpic: Add qpic spi nand driver support To: "Alex G." , Md Sadre Alam , andersson@kernel.org, konrad.dybcio@linaro.org, broonie@kernel.org, robh@kernel.org, krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, miquel.raynal@bootlin.com, richard@nod.at, vigneshr@ti.com, manivannan.sadhasivam@linaro.org, neil.armstrong@linaro.org, daniel@makrotopia.org, arnd@arndb.de, chris.packham@alliedtelesis.co.nz, christophe.kerello@foss.st.com, linux-arm-msm@vger.kernel.org, linux-spi@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mtd@lists.infradead.org Cc: quic_srichara@quicinc.com, quic_varada@quicinc.com References: <20240308091752.16136-1-quic_mdalam@quicinc.com> <20240308091752.16136-4-quic_mdalam@quicinc.com> <1c803d8c-80b2-47a9-bc8c-8b13cbfc6841@gmail.com> Content-Language: en-US From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8BpRZoV+Bd5kWvN79 cFgcqTTuNHjAvxtUG8pQgGTHAObYs6xeYJtjUH0ZX6ndJ33FJYf5V3yXqqjcZ30FgHzJCFUu JMp7PSyMPzpUXfU12yfcRYVEMQrmplNZssmYhiTeVicuOOypWugZKVLGNm0IweVCaZ/DJDIH gNbpvVwjcKYrx85m9cBVEBUGaQP6AT7qlVCkrf50v8bofSIyVa2xmubbAwwFA1oxoOusjPIE J3iadrwpFvsZjF5uHAKS+7wHLoW9hVzOnLbX6ajk5Hf8Pb1m+VH/E8bPBNNYKkfTtypTDUCj NYcd27tjnXfG+SDs/EXNUAIRefCyvaRG7oRYF3Ec+2RgQDRnmmjCjoQNbFrJvJkFHlP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jiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <1c803d8c-80b2-47a9-bc8c-8b13cbfc6841@gmail.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 07/04/2024 19:48, Alex G. wrote: > On 3/8/24 03:17, Md Sadre Alam wrote: >> Add qpic spi nand driver support. The spi nand >> driver currently supported the below commands. >> >> -- RESET >> -- READ ID >> -- SET FEATURE >> -- GET FEATURE >> -- READ PAGE >> -- WRITE PAGE >> -- ERASE PAGE >> >> Co-developed-by: Sricharan Ramabadhran >> Signed-off-by: Sricharan Ramabadhran >> Co-developed-by: Varadarajan Narayanan >> Signed-off-by: Varadarajan Narayanan >> Signed-off-by: Md Sadre Alam >> --- > > For the entire series: > > Tested-by: Alexandru Gagniuc > >> diff --git a/drivers/spi/Kconfig b/drivers/spi/Kconfig >> index bc7021da2fe9..63764e943d82 100644 >> --- a/drivers/spi/Kconfig >> +++ b/drivers/spi/Kconfig >> @@ -882,6 +882,14 @@ config SPI_QCOM_QSPI >> help >> QSPI(Quad SPI) driver for Qualcomm QSPI controller. >> >> +config SPI_QPIC_SNAND >> + tristate "QPIC SNAND controller" >> + depends on ARCH_QCOM || COMPILE_TEST > > Here, it needs to 'select QPIC_COMMON`. Otherwise it can run into > unresolved symbols: > > : drivers/spi/spi-qpic-snand.o: in function `snandc_set_reg': > drivers/spi/spi-qpic-snand.c:56:(.text+0x484): undefined reference to > `qcom_offset_to_nandc_reg' No, do not select user-visible symbols. If you observe such issues then either stubs are missing or depends on. Best regards, Krzysztof