Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp551373rwl; Wed, 5 Apr 2023 04:45:55 -0700 (PDT) X-Google-Smtp-Source: AKy350ZJewgm5dVfiRxs3NEByqItqNklCSPuQGJwr3bQxdJ9SBrGODPNZrhQN8TfH1TLY7q8MLWD X-Received: by 2002:a17:90b:4a91:b0:240:1d50:2725 with SMTP id lp17-20020a17090b4a9100b002401d502725mr6186185pjb.30.1680695155638; Wed, 05 Apr 2023 04:45:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680695155; cv=none; d=google.com; s=arc-20160816; b=itwY5Cw+jXl0IGJXvlnMXNr79fIrbJI/lN0fr+wO8IYzbpRRfWCxYFvKnlCSO4w4FP kh6Im5b764MHA1AA6HzLKPf5brZIEe3cpjbOBwvUfDV2zWHOzzbCPOYXFAuLnx8IrABJ OJB4QWFQkQIgZEM6GzU8IeePJyx/Prej6zKZBn+yc3W6iEU8riLLI4DTbSrdy894jXYD +c6CkcX/gexpIOr6r9sTShcPWRnd/p8lBtfwUs4gFT87tH+UdPsJXPw4IGubbnEMQ8N/ /uRoL943TwgoxbmyWKjAs0NKlUyO1QbH4vXPt1YQWpzK/pHiR7D0XQq8S0jJNdlEUDBz nmPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:dlp-filter:cms-type :content-transfer-encoding:in-reply-to:from:cc:to:content-language :subject:user-agent:mime-version:date:message-id:dkim-signature :dkim-filter; bh=rVfuadgpm2r+fbODJBwW7FHg9iGMIKszhoNLes3w9/k=; b=N2eFcRBPs2J4sFAa4FrdFDoTeroQInWKMW8OYvjrwlBUSgQhZDK/hl4TgnTIpOrZOU VDjqgIxfUY6dI1HimgPgzxOMF1s4UM4jOe8esllFNw9oi+TFfzGoyStSCatfrhfQwUAd M/kcuoRuj+f7EdpwDFS9GZdBNtxMjG01QVt5XJNT6ypINJXFpFw4hrjokQDoVLjv/pCk gBjRWaZojELzFhitnNCqqOhrEvTHQyaNID6QyQa8ySK9nrsXM7WV9aBXPC48ewas9a3i B1BrDmg9TxtXzOJbcJlDsMZmbdOtQaOHoAEr2nK6qX6N3NCXp+WXuSE89SULyuP059OP kZXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=FA3CfjNu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z15-20020a63d00f000000b0051393805ccesi12408565pgf.418.2023.04.05.04.45.43; Wed, 05 Apr 2023 04:45:55 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@samsung.com header.s=mail20170921 header.b=FA3CfjNu; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=samsung.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237983AbjDELpl (ORCPT + 99 others); Wed, 5 Apr 2023 07:45:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58536 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237936AbjDELpf (ORCPT ); Wed, 5 Apr 2023 07:45:35 -0400 Received: from mailout1.samsung.com (mailout1.samsung.com [203.254.224.24]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DBE456191 for ; Wed, 5 Apr 2023 04:45:15 -0700 (PDT) Received: from epcas2p4.samsung.com (unknown [182.195.41.56]) by mailout1.samsung.com (KnoxPortal) with ESMTP id 20230405114448epoutp014932628edb8050eb340d840545a0ff27~TB0c_lqxB3157131571epoutp01D for ; Wed, 5 Apr 2023 11:44:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout1.samsung.com 20230405114448epoutp014932628edb8050eb340d840545a0ff27~TB0c_lqxB3157131571epoutp01D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1680695088; bh=rVfuadgpm2r+fbODJBwW7FHg9iGMIKszhoNLes3w9/k=; h=Date:Subject:To:Cc:From:In-Reply-To:References:From; b=FA3CfjNuiS/4p0NaMWX8nDkK02qQZsd53jXmnWoskvT9M2wac9xwWn9Q3cJ/6Clh+ 7a9zYg9b4x/1zKkCNqZlsahuWDxDKWehGi1YyppF0tNugU21Hm4MX6k1pAtOp547ZK Z/cgRWMX2ZKpGZaBMYS079RsreUwSzcMS4zw5sCg= Received: from epsnrtp3.localdomain (unknown [182.195.42.164]) by epcas2p4.samsung.com (KnoxPortal) with ESMTP id 20230405114447epcas2p437f613334472a210992fd02a52044d07~TB0cNqgjI1493614936epcas2p4L; Wed, 5 Apr 2023 11:44:47 +0000 (GMT) Received: from epsmges2p3.samsung.com (unknown [182.195.36.101]) by epsnrtp3.localdomain (Postfix) with ESMTP id 4Ps2qM12Npz4x9Pt; Wed, 5 Apr 2023 11:44:47 +0000 (GMT) Received: from epcas2p3.samsung.com ( [182.195.41.55]) by epsmges2p3.samsung.com (Symantec Messaging Gateway) with SMTP id 5A.36.08750.F2F5D246; Wed, 5 Apr 2023 20:44:47 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas2p4.samsung.com (KnoxPortal) with ESMTPA id 20230405114446epcas2p407c9cec3d428fd5108df91645a1088dc~TB0a3BlRE1493614936epcas2p4K; Wed, 5 Apr 2023 11:44:46 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20230405114446epsmtrp10124bd5287285a01281511652f9c15c1~TB0a2RhRK2604326043epsmtrp1c; Wed, 5 Apr 2023 11:44:46 +0000 (GMT) X-AuditID: b6c32a47-9f5fe7000000222e-59-642d5f2fdbc5 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 7C.D7.18071.E2F5D246; Wed, 5 Apr 2023 20:44:46 +0900 (KST) Received: from [10.229.8.168] (unknown [10.229.8.168]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20230405114445epsmtip1c6f71047a0f6d677803115fad54d4f5b~TB0alHfz_1454714547epsmtip1T; Wed, 5 Apr 2023 11:44:45 +0000 (GMT) Message-ID: Date: Wed, 5 Apr 2023 20:42:22 +0900 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: [PATCH 1/3] spi: s3c64xx: support spi polling mode using devicetree Content-Language: en-US To: Krzysztof Kozlowski , Andi Shyti , Alim Akhtar , Mark Brown , Rob Herring Cc: linux-spi@vger.kernel.org, linux-samsung-soc@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Chanho Park From: Jaewon Kim In-Reply-To: Content-Transfer-Encoding: 7bit X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFlrPJsWRmVeSWpSXmKPExsWy7bCmua5+vG6KwdIJLBYP5m1js1j84zmT xdSHT9gsLu/Xtph/5Byrxd7XW9ktNj2+xmpxedccNosZ5/cxWTR+vMlu0br3CLsDt8f1JZ+Y PTat6mTzuHNtD5vH5iX1Hn1bVjF6fN4kF8AWlW2TkZqYklqkkJqXnJ+SmZduq+QdHO8cb2pm YKhraGlhrqSQl5ibaqvk4hOg65aZA3SdkkJZYk4pUCggsbhYSd/Opii/tCRVISO/uMRWKbUg JafAvECvODG3uDQvXS8vtcTK0MDAyBSoMC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/Xtph/5Byrxd7XW9ktNj2+xmpxedccNosZ5/cxWTR+vMlu0br3CLsDt8f1JZ+Y PTat6mTzuHNtD5vH5iX1Hn1bVjF6fN4kF8AWxWWTkpqTWZZapG+XwJVx5PoHxoL1XBUTV79h bGDcx9HFyMkhIWAiMenzW8YuRi4OIYHdjBI7v/UxQSRkJJY/62ODsIUl7rccYYUoeskosW7W W3aQBK+AnUR72zVGEJtFQEXi7c+5TBBxQYmTM5+wgNiiAlESnw+0gNULCwRJrDx4nxXEZhYQ l7j1ZD5YvYjAUUaJ5UdqQRYwC5xllDh+bALUtt+MEtN3zQTrZhPQlvi+fjFYNyfQ5rdX3jFC TDKT6NraBWXLS2x/O4d5AqPQLCSHzEKycBaSlllIWhYwsqxilEwtKM5Nzy02LDDMSy3XK07M LS7NS9dLzs/dxAiONC3NHYzbV33QO8TIxMF4iFGCg1lJhFe1SytFiDclsbIqtSg/vqg0J7X4 EKM0B4uSOO+FrpPxQgLpiSWp2ampBalFMFkmDk6pBqY+E8mw7SqW/KxqpXOPWQXW2C5gXVge revNsYd5z+RTvwvOJk3JPHO68uJj7bd/lM8eODh/7mUtX+c+v7zg8hVi5d8YzzRurtUJlv9S 9MvcTSDoQbm47YPLBZs/c6ecmHNnQdA9v3/yhTMWhcRoGdfyrFCo+HKCU3v+z8tvPs5t6avl m3rUV0tL2O79+Zv+RdsZZO9wqe/idLr84JzzUeNUprrlzXvWnak53jDlyf40lUdmiwKTFfS8 Cg1vdG/ivffS+WzE3IIyjg3LcqZmvRWdoaNUxtFVv3D9s6L1DlnZW+M1JJiepCu3Ku+9zpS9 VHbV7fiHqcf/mD3czFP0JfkHg27p9PlbFwhwRObekFNiKc5INNRiLipOBABc8m3NIwMAAA== X-CMS-MailID: 20230405114446epcas2p407c9cec3d428fd5108df91645a1088dc X-Msg-Generator: CA Content-Type: text/plain; charset="utf-8" X-Sendblock-Type: AUTO_CONFIDENTIAL CMS-TYPE: 102P DLP-Filter: Pass X-CFilter-Loop: Reflected X-CMS-RootMailID: 20230404061409epcas2p15750d5844aa8d3655d1bfd094fac14a9 References: <20230404060011.108561-1-jaewon02.kim@samsung.com> <20230404060011.108561-2-jaewon02.kim@samsung.com> X-Spam-Status: No, score=-3.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,RCVD_IN_DNSWL_MED, RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 23. 4. 5. 14:42, Krzysztof Kozlowski wrote: > On 04/04/2023 08:00, Jaewon Kim wrote: >> This patch adds new 'samsung,spi-polling' property to support polling mode. > Do not use "This commit/patch", but imperative mood. See: > https://protect2.fireeye.com/v1/url?k=3cb451b1-5d3f4488-3cb5dafe-000babffae10-4326e9d41dfad262&q=1&e=1125b69d-6d9e-4c91-a8fd-3470cd2278e4&u=https%3A%2F%2Felixir.bootlin.com%2Flinux%2Fv5.17.1%2Fsource%2FDocumentation%2Fprocess%2Fsubmitting-patches.rst%23L95 > > Also, binding should be before its usage. thanks. I will refer to it in next version. >> In some environments, polling mode is required even if DMA is supported. > Why? What are these environments? You need to explain all this in commit > msg. > We are providing a VM environment in which several Guest OSs are running. There are cases where DMA exist only in HostOS and not exist in GuestOS. In this case, SPI in GuestOS runs with polling mode. I thought it was correct that the polling mode was supported optional, not quirk. I have plan to change the polling mode if there is no 'dmas' property. How about your opinion? >> Changed it to support not only with quick but also optinally with > typo: optionally > >> devicetree. >> > Best regards, > Krzysztof > > Thanks Jaewon Kim