Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp317807rwd; Thu, 8 Jun 2023 00:44:48 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ42iFBAej+x9zTbLE0VZKzQHfJu/QH1L2aArze6/EkHy2TKefjGQpgdoRT4/G7vKIvXe1xi X-Received: by 2002:a17:902:760f:b0:1b0:22f4:cc34 with SMTP id k15-20020a170902760f00b001b022f4cc34mr6324389pll.18.1686210288244; Thu, 08 Jun 2023 00:44:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686210288; cv=none; d=google.com; s=arc-20160816; b=oP1r62OUiHE8D9zML+bx2JGpUhcu099Z4WQwHqo1SPsV52PSShncLBSPCiwT6TxPgA wkXTWAbGkVvKDTlRVlK2Fxq+84zyIHMmMgfbQudnwzk9uarQZEouJCnKjIQ/rGvgzNqR UH3UdfjNnDmS8NmrrXmnY7H/OnSTOK+mobUEJu8mLpNWXiN+/q/L6VN+OMqchr8KuRvp 3OF/LNWaEvWHr3vxEsaS18scNOw+2IDLfrSK/+rYpVVPY8xeFovtjfJj234Q4cusHLI3 DWbEvz69EXk6XqGXzNrT7PwVgqb2ow1V3q438mkX/My907dJSiRkyN2kUflHBM2X5cAA sMHw== 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:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=s3mXsBb2rX9ESzaq0KPYnXpEZIKq1PEDyUJJPX88OEk=; b=RmH1UnuvRfSOPXfkwxf0oXLTjec2lfM2wJtdJpEIey63TcPpc6C0mit7e/jQGuHaxJ JoiHPIsCvkOaiNDdPMt1Jc2X8Mq29+xy8ZcLx35BtaBgnDXcMjglpSrFwHyueCnuiWwT udCQQNPPYpeCDgq/gkxF18KBIZQnxljux8+Q7ySwO4uMc+YvuOr9JoQwe+q8WMyB0Ci/ mM/6A9/lnCEtKOL0vE8lHS4YFnASqF5nhQ2Z9DKLi7G40fgCC0+ic2Ivq1xkoPR2JD+y To/a+TwHQBcrWEwExy0N3EjWgK3DYWKL44dR49P7B2nePP6YdgeC33v+ZXxeSlf956Ji y4gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=km6m0nsn; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id li12-20020a170903294c00b001b02bd7001dsi670628plb.144.2023.06.08.00.44.34; Thu, 08 Jun 2023 00:44:48 -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=@collabora.com header.s=mail header.b=km6m0nsn; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235419AbjFHHeO (ORCPT + 99 others); Thu, 8 Jun 2023 03:34:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230106AbjFHHeN (ORCPT ); Thu, 8 Jun 2023 03:34:13 -0400 Received: from madras.collabora.co.uk (madras.collabora.co.uk [46.235.227.172]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 439BD9E; Thu, 8 Jun 2023 00:34:12 -0700 (PDT) Received: from [IPV6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab] (unknown [IPv6:2001:b07:2ed:14ed:a962:cd4d:a84:1eab]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: kholk11) by madras.collabora.co.uk (Postfix) with ESMTPSA id 0DFB56606F10; Thu, 8 Jun 2023 08:34:10 +0100 (BST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1686209650; bh=xJ+I3bcwd9Bg/yM7l1pEkI+rXFRK/dFMKrA5l7XRALw=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=km6m0nsnZRM5AqYkLkmQK8jZf+krqDHQTD5jwbqzg9CEN8j1ZTkuIZpfO+jPNL9uI xo6weoeh4iJWh/ox5PKnHfQd42Pny82ooWWQHeE2zzMO9hS6CTPPy9J3Xf70I6BHM7 fBHYrPnq2xWOZyv3IPJODjh3HfjT4NUnXI4MeYHsmn4PBX5YWq73BmtsV028Pj4zxK HsMH+JGnVkVGSIfZBfOTsdZv+M9arh1g1hXPri3yEfF+tO/Xz86iJR4NqEnAP5wzKJ KmxJBy1o5J3NlJmlqtMx5DSHAyG/X1tvAqDuM3j4BGM1K62w9I1X4lTsBetMNU9mRz uLeWf4WG0lOQQ== Message-ID: Date: Thu, 8 Jun 2023 09:34:07 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.2 Subject: Re: [PATCH v2 3/5] media: mediatek: vcodec: Read HW active status from clock To: =?UTF-8?B?TsOtY29sYXMgRi4gUi4gQS4gUHJhZG8=?= , Matthias Brugger , Hans Verkuil Cc: kernel@collabora.com, Andrew-CT Chen , Mauro Carvalho Chehab , Tiffany Lin , Yunfei Dong , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, linux-media@vger.kernel.org, linux-mediatek@lists.infradead.org References: <20230607205714.510012-1-nfraprado@collabora.com> <20230607205714.510012-4-nfraprado@collabora.com> Content-Language: en-US From: AngeloGioacchino Del Regno In-Reply-To: <20230607205714.510012-4-nfraprado@collabora.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.2 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,NICE_REPLY_A,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham 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 Il 07/06/23 22:53, NĂ­colas F. R. A. Prado ha scritto: > Remove the requirement of a VDEC_SYS reg iospace. To achieve that, rely > on the "active" clock being passed through the DT, and read its status > during IRQ handling to check whether the HW is active. > > The old behavior is still present when reg-names aren't supplied, as to > keep backward compatibility. > > Signed-off-by: NĂ­colas F. R. A. Prado Reviewed-by: AngeloGioacchino Del Regno