Received: by 2002:ab2:6857:0:b0:1ef:ffd0:ce49 with SMTP id l23csp3282337lqp; Tue, 26 Mar 2024 05:15:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWRQIJQiRdM+TLRvHgPca8+vrzdYndEMJXXaCA40hFWzAWhY4O99c6B9rW09zrCC1GYdf5LH8gPq5PGcBDkqEZjT00XAQEdCBAbHM6J5g== X-Google-Smtp-Source: AGHT+IGXxZNK5Ht9LmgwrrbFwakU9PgqiODgx3aPP3BcHokOLQqhaGoULD7xvF9lazPUqMJ/LpC7 X-Received: by 2002:a05:6808:302a:b0:3c3:a606:8065 with SMTP id ay42-20020a056808302a00b003c3a6068065mr12052670oib.33.1711455319777; Tue, 26 Mar 2024 05:15:19 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1711455319; cv=pass; d=google.com; s=arc-20160816; b=E/6k6NRsld7RGdkyYOIHdd5bDtfOiF4JNmkHWMv0KtpSa6AKAQSRxxiM5CM3pVJ3IX Db8FtAvax66kfPBVwznbYaRKzf8ypU4aO308HUnT0CMmUL9S4DB+5vMgbPFtPqLilPuP Se5KVWnzcLMzru9QNAd4fzLdiOFpJGR7/lLslF2/8pq4O7Hdg+7AerF50ZYtKrgQmtJi MleeAC3wby2iivAVX70YS1DMCblx01vOYARU2S46Oxape/sOQ7SsURH5T3L7FItduW3y f63zfI+ZeRtDJdgab+Wh8P0T+C3D7swaFWgdZt9oGLhALvsTf0tSXnwj2ttt1cqFxHuq 8dNw== 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=n+xRraxP+bzgIPI3MdZw8Y3QkcTMlVCI6ec/G9jP36k=; fh=j8zMcOYY9sCA3GI4uyJZdkszrLp5m7QH+EUDw3m4Kxk=; b=H0yUTKQrO4wrm/C0raMJIc1AzthH8MYJjOChEes0eRgbee2gnO6Q/TZTnIG460202t FB27OKXBrq/AIdy8qfba/hQKj7fWDIvZK86yBS+TPQPjwyGkZY93kMF0s+/GSFCBo0W9 TQBzY/rf/ANru7ZMIH4Z9ujRWaft1jEuuS8pE+Wyzj+kiZNg0lqbl3bLRHD1y84wN+K2 cYca97Y386IL3qd2lORf1SA+WeUlRr22dinJjNs5qyM0nbIxa+xOLOeLfIPRvz2d3LoJ FmUrmAmM+n+d95NyU5b3pxtZfzalkGaDGqHggVVIuom2f3YtzwYNeVNjJPJgea1ysqlm UTKQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rVIwGuZZ; 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-118951-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118951-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id t22-20020a05622a149600b004316155a54asi2747829qtx.531.2024.03.26.05.15.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 26 Mar 2024 05:15:19 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-118951-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=@linaro.org header.s=google header.b=rVIwGuZZ; 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-118951-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-118951-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 7C9991C327D1 for ; Tue, 26 Mar 2024 12:15:19 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 13EFB7173E; Tue, 26 Mar 2024 12:14:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="rVIwGuZZ" Received: from mail-ed1-f53.google.com (mail-ed1-f53.google.com [209.85.208.53]) (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 44C547640B for ; Tue, 26 Mar 2024 12:14:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.53 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711455258; cv=none; b=DBNI542C5YYqigTYgT203THyZmb5j4F2pom802liVDkpiH0leGt5gpMgrCPRb9cPVF9bhc2UiByEM39y5KQ4r4CfQKpUTaRkoyYXBjQ6SR891oDMHPCIzW07RrxFGuvYG8eXM4GvBtOcS0AaEGsIfjCOUyvwAfhcut9P7COqYm4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711455258; c=relaxed/simple; bh=gKKUxmCVZjFEkwlPvcbsAq5Ff6I3CzB+4CfPRqco8w0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=YF61zLkgGaLsHZ4Dom7v7yPoSmfAl4v8YZRZjTyyDYzuBF5p6O6ZOBB3oyM0PMLdsJtcizztPASB3ZL2qcP4q7H+lOaURqwFnuPfSQWXX+il5u/JMUUI6d6YQJh5eJn1cVOZE1lzRgh7bfyrRzVVWxRddG7d3zY9fAvLG84N2Fo= 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=rVIwGuZZ; arc=none smtp.client-ip=209.85.208.53 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-ed1-f53.google.com with SMTP id 4fb4d7f45d1cf-56890b533aaso6404694a12.3 for ; Tue, 26 Mar 2024 05:14:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1711455254; x=1712060054; 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=n+xRraxP+bzgIPI3MdZw8Y3QkcTMlVCI6ec/G9jP36k=; b=rVIwGuZZRfYHLT5oDOJeys19zsYwY/unvvfd/lMwvLuk0mBODt4/vZ05HZl1gCv8O6 jSpMdBymzu6/d/ZTRLnIygGc+/In38toANVtlWCzdzb3riLO5UzEAcu4vsh5StQlXfee Bne2f63NDfQB0H0pqA7BpLL0OkcP7f2pSfdf/PMUaaUeXjCAb0du1NL0VAIGX06Q6pnO 44lFgFdPtCsoRvwoNDHfdlqt/5jzddipp2qHiDlTLV1oiaJK0hF2U6H2M9SLID/nxTAT O0yXcRPGCnBr0Ome76pwsBkHJIb+CR7hEWHxb+HVOsu1kurVXXxeUbiZdB/mOENvW4Sb qqbg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1711455254; x=1712060054; 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=n+xRraxP+bzgIPI3MdZw8Y3QkcTMlVCI6ec/G9jP36k=; b=fttEMYeJh9BORcFm5R61iDASNiYl55OYsbFTKC4YOMmx9tB8vA6230q/yX1O47NZRE aAAWi/OTO2DAzcJtUv37ImEp3mvQUVIbyoZuk49yCDEC1VGS6dVJzUO+05UTLnZ7FvwN 8FHGoTMyNImyrTyllaj+v7pG8tsiPUwfSG+ZsqYCOMC/f3zEHTekmSurCOShUYK4n3yK FZXkXzHdxT0bLABKtavyRwVgQU3W4jO4IzG5/Y7QljNCqUcieDJMJPUeeR/FlszXhX6j 0nCWaBqLpkOCb2mRKNzjlvpwJLCXtqgYj3+ROuuM/0Eb/IFjbY5B7dWSxkmSyOWZG0ML IqDw== X-Forwarded-Encrypted: i=1; AJvYcCUL+kOQWHMiFDekJysfIBs903d0ru0W5oBF+45dPTR0CzSDCTT4tifwf3Gnvbq/7ryTZ3h6gaucHHi01Evg5/eCOXv690A6x6fOMdA0 X-Gm-Message-State: AOJu0Yy2QPDzoiHNMQNQyALofJa9ADqgEbiWAISwuFegLsrppgkHtjkt 1hX4wX1I1BtgkEEG1eY0zVFKF4VU05i2QlgO2Sf2xJI7HSiT5q0AOqVuaNYZ+qo= X-Received: by 2002:a17:906:ad0:b0:a47:3b7b:e7a1 with SMTP id z16-20020a1709060ad000b00a473b7be7a1mr6054945ejf.49.1711455254479; Tue, 26 Mar 2024 05:14:14 -0700 (PDT) Received: from [192.168.1.20] ([178.197.222.44]) by smtp.gmail.com with ESMTPSA id i10-20020a170906264a00b00a46a27794f6sm4158924ejc.123.2024.03.26.05.14.12 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 26 Mar 2024 05:14:13 -0700 (PDT) Message-ID: Date: Tue, 26 Mar 2024 13:14:12 +0100 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 v5 1/3] dt-bindings: dmaengine: Add dmamux for CV18XX/SG200X series SoC To: Inochi Amaoto , Vinod Koul , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Chen Wang , Paul Walmsley , Palmer Dabbelt , Albert Ou Cc: Jisheng Zhang , Liu Gui , Jingbao Qiu , dlan@gentoo.org, dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org, linux-riscv@lists.infradead.org References: <57398ee0-212c-4c82-bfed-bf38f4faa111@linaro.org> <473528ac-dce2-41e3-a6d7-28f8c53a89ef@linaro.org> <1525c377-af73-4204-8a2b-983c6d99316c@linaro.org> 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+2RgQDRnmmjCjoQNbFrJvJkFHlPeHaeS BosGY+XWKydnmsfY7SSnjAzLUGAFhLd/XDVpb1Een2XucPpKvt9ORF+48gy12FA5GduRLhQU vK4tU7ojoem/G23PcowM1CwPurC8sAVsQb9KmwTGh7rVz3ks3w/zfGBy3+Wm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EFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit On 26/03/2024 13:06, Inochi Amaoto wrote: e. >>>> + regmap_set_bits(dmamux->regmap, >>>> + DMAMUX_CH_REG(chid), >>>> + DMAMUX_CH_SET(chid, devid)); >>>> + >>>> + regmap_update_bits(dmamux->regmap, CV1800_SDMA_DMA_INT_MUX, >>>> + DMAMUX_INT_CH_MASK(chid, cpuid), >>>> + DMAMUX_INT_CH_BIT(chid, cpuid)); >>> >>> I think this is. >> >> So where exactly? I don't see any define being used here. >> CV1800_SDMA_DMA_INT_MUX is not in your header. DMAMUX_ is not in your >> header. So what are you pointing? >> >> I don't understand this communication. Are you mocking me here or what? >> It's waste of my time. >> > > I apologize for my misunderstanding and your wasted time. I had > previously thought that hardware constants is also binding. This > leads to a weird communication between us. Since I agree and > understand this file is not a binding, I will remove this file in > the next version. Anyway, thanks for your kindly explanation. OK, no problem. When I asked where do you use header, it should make you think... remove the #include from the driver and everything still compiles, so obviously header is not being used. Best regards, Krzysztof