Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp787500rdb; Fri, 9 Feb 2024 00:40:36 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZlFA2KSuzgAgg/0wmlSS2zgyHnno8H0c07XzkfBpv3u7RtINhuzHiXL9wyXE9XzLfPeFM X-Received: by 2002:ac8:5acb:0:b0:42c:5856:4b94 with SMTP id d11-20020ac85acb000000b0042c58564b94mr420904qtd.4.1707468036486; Fri, 09 Feb 2024 00:40:36 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707468036; cv=pass; d=google.com; s=arc-20160816; b=qBGXLaj3ervk0X9FNDVZ0UrWrBkVih0SYGl9MdBM2gdB6lFZMJwTE+EqAgp22zdZoR pjBURTLFvJfu0hBjzPcA1EU8rC68n0MZTXi67RNwnVW83PJiV9sebyhq61aXcQORZ6KT iuje4IEW6I+rMkhHjJU7tozOJYffJWvwQkJgpcM943jyvKKeEA2vH145w0v9Ryo4mkrO zKBBp1th0uL+phrsqtNamqnVtJxFgUZEnisxqO/51MHdl3qJKno07ZZanhRlZPDUdGf0 +XV2w00eBvpmQtC5Uu9oEJ3z2L3PxXcihYV6p/4UwXtjcXQOLCZgawFEVcUXNRhZfjdt 9iMQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:in-reply-to:content-language:from :references:cc:to:subject:user-agent:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:date:message-id:dkim-signature; bh=lJbSi8Ek8YbEjTAaZCz3kjw1D2dhXW8bxUQbUXNhcaA=; fh=WVOuu3gamqHLW0k39vwdlBsPVYbozy+rRvNri7/oS8A=; b=Z3PHJWHtd57qKHm89c3UXJIkh4scqyq2KiRqRcMSJUvRhVcFIRPQ3t+19aj16Idr/9 g6UgQBDoPWXbd2QyDLFtVtmv1M8a5ircl59uH44S9PbcSqqv0wWkJCgAsOAstAP0CvIJ xCpC9OJbmlFQcVLBe/YGVuYD9W/HiF+1L3kUePVqGvHN3T58bVkC4xogq8QY2Okj8Rwu z95MFLqWAcH6dJxT66ahqs/dROV/rJXoyzlGoF9exNbGY/BFbXgfhPl3zx2VKuGT5qb3 /RS+oTsvVyye9gUwHE2yuHYL1WptozqCajpqar/DeBmm8IBk4bdQzrcVwoQMWYPcchUp Xmmw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Z4YmH6zs; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-59116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59116-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com X-Forwarded-Encrypted: i=2; AJvYcCW4fcWQgfdChUoe/hukqlX1Lyv+Z0S1vwSLzxkhyQemWlRrUS251T/XAjYmLuP1A+7HkWmGDp2z5+Y0++cC92dGbkzGmUbTg9QNIQnG6w== Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id f5-20020ac85d05000000b0042c4bf25734si1425044qtx.230.2024.02.09.00.40.36 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 00:40:36 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-59116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@collabora.com header.s=mail header.b=Z4YmH6zs; arc=pass (i=1 spf=pass spfdomain=collabora.com dkim=pass dkdomain=collabora.com dmarc=pass fromdomain=collabora.com); spf=pass (google.com: domain of linux-kernel+bounces-59116-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-59116-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=collabora.com 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 2E96E1C22010 for ; Fri, 9 Feb 2024 08:40:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 81B0D664AC; Fri, 9 Feb 2024 08:40:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b="Z4YmH6zs" Received: from madrid.collaboradmins.com (madrid.collaboradmins.com [46.235.227.194]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0F48D57303; Fri, 9 Feb 2024 08:40:18 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.227.194 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707468020; cv=none; b=cCjrcOF5+xIDxbPAF5A++LC2O8Zsv4l5MvXyyU1iZPBDb9v29HFum+nfGPZ5cuBaNsGcr6oLh/bYuGO4yj3278eWkzlaLK+rEYCMfeGD0NksjXfTz2z24Je+HUSZTCMLkFC7VZ4qo2IqHLpEqy2y7/Z+rGAj+W21dcs6mVn+ToE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707468020; c=relaxed/simple; bh=rWeUK8kIRCrP3AvyVO4HwXkI+h4htosgYJJ/r64ObXM=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=EhaAuYl1KSVFrxXvZaeL0gdf5h3YigL0i4vC4ha5e+5V61gQdhz2Rd6x6GS0NgPoak63HcwCYi5qlfBj484jDwjI6KbFjHwsQXJ3KflqQf8f+cRdaAlXLZafoOjefmeKlmCxgk4aDv+H4kTK8H/x/Udm1Dac/NE+l9eAnfz02Hg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com; spf=pass smtp.mailfrom=collabora.com; dkim=pass (2048-bit key) header.d=collabora.com header.i=@collabora.com header.b=Z4YmH6zs; arc=none smtp.client-ip=46.235.227.194 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=collabora.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=collabora.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=collabora.com; s=mail; t=1707468017; bh=rWeUK8kIRCrP3AvyVO4HwXkI+h4htosgYJJ/r64ObXM=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Z4YmH6zs1Fqk8U3NtnC/OFO6SYmTupi4k5jo5CSSJB7g7Btm0uiJrIDiCJNdCWjaA +HlfZpeHCUJLFVoyTUeTeEikJLNssP9q/VDrbtrHS2+eZxzwVUmfWhc+i4YWTyR+SY XGIjethQ12pQzgZX9N4a47kxBwlCIXOZ2TjjJPKmyo8d0Tbe/dfCQJwsZ3wRecV3QX kFmWt8XE9AvRnZ7sQ3w3i0SLSdS9TnVFMM6h6dUyIww/GNgdn7pjHBJb5vHiIGsfsw WhxpAb8wkrZIaFdArIdz+3P+4foadiehVHtM8PqHiWSP2QCj+hNxJ/IpNWl2pNQbwW f8IlHktIJdVew== Received: from [100.113.186.2] (cola.collaboradmins.com [195.201.22.229]) (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 madrid.collaboradmins.com (Postfix) with ESMTPSA id 5EA8437809D0; Fri, 9 Feb 2024 08:40:16 +0000 (UTC) Message-ID: <023a1706-f6ca-481e-8a95-bc9e0e7e46ad@collabora.com> Date: Fri, 9 Feb 2024 09:40:16 +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] dt-bindings: media: convert Mediatek consumer IR to the json-schema To: =?UTF-8?B?UmFmYcWCIE1pxYJlY2tp?= , Mauro Carvalho Chehab , Rob Herring , Krzysztof Kozlowski , Conor Dooley Cc: Matthias Brugger , Sean Wang , linux-media@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org, linux-mediatek@lists.infradead.org, linux-kernel@vger.kernel.org References: <20240124095230.25704-1-zajec5@gmail.com> <62fca33c-eb1a-42ad-b7f7-31b14f0aa446@collabora.com> <6012ec99-4246-41b6-adb2-1bcd4dd159ac@gmail.com> From: AngeloGioacchino Del Regno Content-Language: en-US In-Reply-To: <6012ec99-4246-41b6-adb2-1bcd4dd159ac@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Il 09/02/24 08:24, Rafał Miłecki ha scritto: > On 24.01.2024 13:33, AngeloGioacchino Del Regno wrote: >> The driver says: >> >>      ir->bus = devm_clk_get(dev, "bus"); >>      if (IS_ERR(ir->bus)) { >>          /* >>           * For compatibility with older device trees try unnamed >>           * ir->bus uses the same clock as ir->clock. >>           */ >>          ir->bus = ir->clk; >>      } >> >> This makes me think that requiring *one* clock on MT7623 would be a mistake >> and the devicetree should use clk, bus - CLK_INFRA_IRRX_PD, CLK_TOP_F10M_REF_SEL. > > Looking at mt2701-clk.h I can see CLK_INFRA_IRRX (which I guess you > meant above). > > I can't find CLK_TOP_F10M_REF_SEL however. This seems to be available on > MT7622 and MT7629 only. > Could you take another look at it, please? Can you somehow verify what > clock should be used by IR on MT7623? For MT2701/MT7623N you can use topckgen CLK_TOP_AXI_SEL as bus clock. Cheers, Angelo