Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp776208rda; Sun, 22 Oct 2023 09:12:31 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGmZTVJXV7R6IhmpHenEaNjX4q+4hARNLD3RsFJVN3DwcLOx2XDBMWRmm/fPidoY8UQBSPH X-Received: by 2002:a54:4097:0:b0:3a7:5cc1:69b0 with SMTP id i23-20020a544097000000b003a75cc169b0mr8103106oii.7.1697991150967; Sun, 22 Oct 2023 09:12:30 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1697991150; cv=none; d=google.com; s=arc-20160816; b=O/z+M7eYuRkJ7eXzwUYwDZCm4w9sT3SwsX3bk19uiBfMyXESrzJyZQmuX7G37dXCuX S5ObFJbxrWvkX7/6g/27auN/iYkwUtzMUK78RKcUU1SKT/Jadr0FKGIrLSQHAwmx7gWB XjRZcysZpM/KkxyuGCa+7jGTEGeH9FQ67pQ6cQE+Zem1ygRvjE7tcvoISyy56fPAxBRh 4jU3qHYaohT4pzaZzNm11mATBZxVcwFtU2tSZ7qrH+hPhHy2QaFw8ItT+bPIOfzXv1C7 fJkMqvYzGLozQmTPHIfRR9kyRLXGmr1Ag8oMDI3sjIvVd/EisAxXmfTiF8lwR7r2Nc19 VMlg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=GIP6QYPQ0gMLC3Rz4H2bjfCK8p7pgS1S5b1y0RTf/38=; fh=1rqdaSjVIrgNtnHo2w48358lomOdbj6lk1dxlz7CQCc=; b=eQ8wlPdLOJAjvWVzItDKKJC4/7JAde+7i+V0bgpfzRdICdxwU/8yUIQNtIh5qejvo+ 8IHp17ijmPagtXNGBvMPBcDSe9CobmIOgM9oxp8q/55FeR2t70dfb+YWUuM2FPd21aBf y4oC4uvh4ElFOT8Yl5ZKTyLO9TWw2o79DvDYdby9iN2kk7Y7sCuUc6sE53Nlq+wkmv3f 7nr+uND0Jkicf7htLtxD+11koKkH4TXT9aI6d9RW8zqt/YylUq0PYv6oRtrV+twoHcjf S3HtKDaK5F7NV+JzlkoMpMJ+aPOmxz1CNQ4JOYsYfH9z24qaipLrT3OHcaXLMtZnnGih Vj/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aJHqr0vc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from morse.vger.email (morse.vger.email. [2620:137:e000::3:1]) by mx.google.com with ESMTPS id f7-20020a635547000000b005ac154e70desi5067638pgm.348.2023.10.22.09.12.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 22 Oct 2023 09:12:30 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) client-ip=2620:137:e000::3:1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aJHqr0vc; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:1 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 7A7CD806B06C; Sun, 22 Oct 2023 09:12:28 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231891AbjJVQMX (ORCPT + 99 others); Sun, 22 Oct 2023 12:12:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33552 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229500AbjJVQMW (ORCPT ); Sun, 22 Oct 2023 12:12:22 -0400 Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5BFD7DE for ; Sun, 22 Oct 2023 09:12:20 -0700 (PDT) Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-99bdeae1d0aso369765766b.1 for ; Sun, 22 Oct 2023 09:12:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1697991139; x=1698595939; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GIP6QYPQ0gMLC3Rz4H2bjfCK8p7pgS1S5b1y0RTf/38=; b=aJHqr0vcEL5Phi0ebN79dGkTgZof37nxBokF061HrRCmL6MtpLZ8f/b/9m7cEAs15o sAnSW6u44zlruUuhliNGaF1ORSwGXmyu7bY/lvETDidJmAietQReQi6ek/EQjUtbbZs5 bAtg1y8wfYu8xHI1H5oQHwehcsV3hoe5tMC/8UFjdpEeiwzzHIdBOGmYfw5IMy/mueZ6 2s+y0ZQEQTkXP7SetaRLWbFhoWo2Q1nsYLnnMwZw7morDPUHOhm+KPNaXyCyhhHnHcSp /Hj2fXVGaJipDcsveMNk6cXU0zdeyO88obLUy6dyPTyD21LEIOOi8J/V0/Vyof2325/E j9Gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1697991139; x=1698595939; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GIP6QYPQ0gMLC3Rz4H2bjfCK8p7pgS1S5b1y0RTf/38=; b=QZRFOcTOwq4jNbFtsq9RTB0hzGDAjJ9ucG5FNvrB4gcxeb7uKB/0g8Dpn2X6GTt1QJ OR0F47a9XJ3a3nZJ8OBWcJvxp04QeoQwI0CTpkwDFALHbSlNISD7HpkDa51jFFhXMmhB 5OSfyRNbvLzLgszIJizX+jduG/6e7+XzAX82njB5GhRY/a1NBcXNwInkfc/bYhVxwyeC sL77AiIOw1OySgBoiSmeSSaK3VNaJ/NwInEjMCAXzpcp+PteWFwU5bBxJyQbF75VIVEl L3k5YxWWJHMC/CL8T7faSnnw1ZwnqqVXyHRxkA18vTdQQYL98dGz4icuug2FLUjgbXfU 0wMQ== X-Gm-Message-State: AOJu0YzYr6Ee1zbAbrWwKW8ZYqdWt4Ho9Dm5LmRk9gsBT/upeB7Njpo9 rXx1td35VgoywWRVAs/cn6f1DQ== X-Received: by 2002:a17:907:a49:b0:9c7:4d51:af08 with SMTP id be9-20020a1709070a4900b009c74d51af08mr5519507ejc.43.1697991138784; Sun, 22 Oct 2023 09:12:18 -0700 (PDT) Received: from [192.168.1.20] ([178.197.218.126]) by smtp.gmail.com with ESMTPSA id s16-20020a170906bc5000b009b95b46bbd1sm5253139ejv.133.2023.10.22.09.12.16 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 22 Oct 2023 09:12:18 -0700 (PDT) Message-ID: <7d40c242-7779-45de-83c5-06db9983dae1@linaro.org> Date: Sun, 22 Oct 2023 18:12:15 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v13 6/8] media: dt-bindings: wave5: add Chips&Media 521c codec IP support Content-Language: en-US To: Devarsh Thakkar , Sebastian Fricke , Krzysztof Kozlowski , NXP Linux Team , Conor Dooley , Mauro Carvalho Chehab , Jackson Lee , Hans Verkuil , Sascha Hauer , Rob Herring , Pengutronix Kernel Team , Shawn Guo , Philipp Zabel , Nas Chung , Fabio Estevam Cc: linux-media@vger.kernel.org, Tomasz Figa , linux-kernel@vger.kernel.org, Nicolas Dufresne , kernel@collabora.com, Robert Beckett , devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Darren Etheridge , "Bajjuri, Praneeth" , "Raghavendra, Vignesh" , "Bhatia, Aradhya" , "Luthra, Jai" , "Brnich, Brandon" , "Pothukuchi, Vijay" References: <20230929-wave5_v13_media_master-v13-0-5ac60ccbf2ce@collabora.com> <20230929-wave5_v13_media_master-v13-6-5ac60ccbf2ce@collabora.com> <4c557cbd-33e9-a0df-3431-04ade12b6f07@ti.com> 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+WmLg++C2Wct6nM Pd8/6CBVjEWqD06/RjI2AnjIq5fSEH/BIfXXfC68nMp9BZoy3So4ZsbOlBmtAPvMYX6U8VwD TNeBxJu5Ex0Izf1NV9CzC3nNaFUYOY8KfN01X5SExAoVTr09ewARAQABzTRLcnp5c3p0b2Yg S296bG93c2tpIDxrcnp5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KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <4c557cbd-33e9-a0df-3431-04ade12b6f07@ti.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (morse.vger.email [0.0.0.0]); Sun, 22 Oct 2023 09:12:28 -0700 (PDT) On 17/10/2023 15:39, Devarsh Thakkar wrote: >> +required: >> + - compatible >> + - reg >> + - clocks >> + - interrupts >> + > > Is it possible to keep interrupts property as optional given HW can still work > without it if SW does polling of ISR using registers? > > The reason to ask is in TI AM62A SoC (which also uses this codec) there is an > SoC errata of missing interrupt line to A53 and we are using SW based polling > locally to run the driver. > > We were planning to upstream that SW based polling support patch in CnM driver > once this base initial driver patch series gets merged, but just wanted to > check if upfront it is possible to have interrupts property as optional so > that we don't have to change the binding doc again to make it optional later on. > > Also note that the polling patch won't be specific to AM62A, other SoC's too > which use this wave5 hardware if they want can enable polling by choice (by > removing interrupt property) > > Could you please share your opinion on this ? You know, if you do not have interrupt line connected, how could it be required, right? If the hardware does not require interrupt to be connected then bindings should not require it. Best regards, Krzysztof