Received: by 2002:ab2:60d1:0:b0:1f7:5705:b850 with SMTP id i17csp1928476lqm; Fri, 3 May 2024 10:13:12 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWzefOYOjA8YckaLPu+Ntg0Hlw3nl+FmN82Qiuwl2agtDWOhyyEEOQoIuknlxLAhRqs2uFCGruxwZAahjWI+TnuWtLl1aIBlT+JD8F6hw== X-Google-Smtp-Source: AGHT+IEZi07Xu8sLgCPHzfFrCGCGGZQG9H9vY9dWDFXYOdZF5lgY2aAwwIZ9eu9yNAU6Zki6/arB X-Received: by 2002:a17:90a:ea08:b0:2ae:7f27:82cd with SMTP id w8-20020a17090aea0800b002ae7f2782cdmr3307213pjy.7.1714756392356; Fri, 03 May 2024 10:13:12 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714756392; cv=pass; d=google.com; s=arc-20160816; b=MYeZTkqRnauGvOFrveyD3DMHh7Ae+a2G5gzo/vxi5i609c7FLFVkqF9BdIffXwSVay uUBLDNK+o7UCRita3yDQj4FfYhnXnK8ht9dqG7VBTNKloktD0PerXcjnmMH44TuOWSVs 3TUVmHjxIEsD/gAD64Yl3Rf3MfBId2beZ8FFQZtv5sMRg8bTvCkj2Y/t+aA5fpMwJLEE HPIWtojIGPk7Zl+tZk+2kvbkDSbKy456EciddpWBSCxrHkIQpcMTz/x0kCbIs58rZkBR cJyPVsUaBZUmmDMggkvy0vN+l0tHXNs6xoqKx8V8XgGI89Rk4ezn4D+Vm7LWnaNT9Eut kL9Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:list-unsubscribe:list-subscribe :list-id:precedence:dkim-signature; bh=bFDUxR30IPwZt3hzDUBu2ztG3pGTqmkwZJ0uw0kvNMs=; fh=U3xD0TUBQIqJZgmDiEgmXlLZOeAGRzWwblvhlHObyNw=; b=OyGINpr5ZOIxiELGeU0LzS16KPJSfbi3CkyknwoOFAxZbFYmTZyXigL+QdYIQ+zt+8 7kVyuhS4oKkPpxxiNmVLG67CV2P3fHLjZeJdSN7pg4Gfxy9AeekpRn9+FNI73IUBhirc JUr4mwxUraTkDtvVBqDHc7oR323zc/s5JpbnVhRzGBL7inhMXOK9l0rrc4S1msXi8mBC SLaIUgoyVVzUZdCK6cAkkZeGKd5unXwiekTdITjf3mG7FTcT9qAnNdHwCzhQRaTusjHu YEltW6UR9uThn12NTafidqXbf4FQJkcRLywdCRX59uVZzvPX7kAtJSC0zGUl7G0q9w+h AWGQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nViWgbUa; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-167951-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167951-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.org Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id mh15-20020a17090b4acf00b002a20958b1e4si3361060pjb.104.2024.05.03.10.13.12 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 May 2024 10:13:12 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-167951-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=nViWgbUa; arc=pass (i=1 spf=pass spfdomain=chromium.org dkim=pass dkdomain=chromium.org dmarc=pass fromdomain=chromium.org); spf=pass (google.com: domain of linux-kernel+bounces-167951-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-167951-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=chromium.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 sv.mirrors.kernel.org (Postfix) with ESMTPS id F3417284DEE for ; Fri, 3 May 2024 17:13:11 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C7CFC157E73; Fri, 3 May 2024 17:13:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b="nViWgbUa" Received: from mail-ed1-f45.google.com (mail-ed1-f45.google.com [209.85.208.45]) (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 5045A157A72 for ; Fri, 3 May 2024 17:13:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.45 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714756386; cv=none; b=bdzsQXv7pYiP7JYU0bJSyTWt2A72fkKuenWVpjE3PyPg8aAj4iX/5pCALDSRsxG7s1M1hjV3BncA26L2tZQAOo/C1VoT8KEy9do+Z75bUJSOM5FJXkfhRBcyRMfR4xOJO/GltcHLXb+aWP3Ad+vkiw5DuwAFLFBEfkqAaoj3RcM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714756386; c=relaxed/simple; bh=usIfQdo9xK41wsiBE40gTLV2UjcRarxNmZBvY+vqIMA=; h=MIME-Version:References:In-Reply-To:From:Date:Message-ID:Subject: To:Cc:Content-Type; b=GO1B9kBb5jZaYQl7iakOMO8Q4ZQ1SfALwQ3PK8amr4Njb0m1eyLggnQqnwHXIHvrPqczxhv09K0DBk7FzA3G88AOh89/+WmGpTt4wXaUogm/nQ6JR8oxVfyTXMAa7oRkxqjKM7857DJWxkJkghgxROnSYcfLcCPkZW8zEZ66kIA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org; spf=pass smtp.mailfrom=chromium.org; dkim=pass (1024-bit key) header.d=chromium.org header.i=@chromium.org header.b=nViWgbUa; arc=none smtp.client-ip=209.85.208.45 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=chromium.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=chromium.org Received: by mail-ed1-f45.google.com with SMTP id 4fb4d7f45d1cf-572babec735so2738983a12.0 for ; Fri, 03 May 2024 10:13:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; t=1714756383; x=1715361183; darn=vger.kernel.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=bFDUxR30IPwZt3hzDUBu2ztG3pGTqmkwZJ0uw0kvNMs=; b=nViWgbUaxb0PFfH5DG1B681XCE3vL4nEI5Rb/pqkG4G+sYIo6oMZa+f0XtZfc6miHw gq7sYHA9SYTo07yzGnl9s8pQPg8Vr83ueCbyo4E9joh1nDpimufAQ4BuvZDricdq1Ngo Em3nkkF8/fsnzqEYzl3G+qUogK5+Mi/ELgnkg= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1714756383; x=1715361183; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=bFDUxR30IPwZt3hzDUBu2ztG3pGTqmkwZJ0uw0kvNMs=; b=EwFdccdlUmmijmjxvqgtiBsoqffofd4HMqK/7J0s5wwJtQ4QqSZUa+Z3DoP+BFnGgI oGkgRw3RO56kA1cyPFR3WbzGtyQ1nfM+47tn04PEkV/mqTjkYtrvDHssQ/4QIqWEu4kZ 0xOdagFMx9YBmakekVvO+I5r79Mg8n/yk/vBU68nsypTMcUCYoq10LDQ/5/JnldjTLIO G0KcchRgAI9Pa95S5wcrzZK/pbXlXOcSc1KAoZulOt3TkEDDR6Fga8UvhbycDfBq5o51 w7O/01R78/lL7KJBKIbx5p8/dKfN6kjh+VVkvCG6fzNLFAbLvl7uK6B/g8iqDylKEoOG cmGw== X-Forwarded-Encrypted: i=1; AJvYcCWX1Tb/P8D6iYBUeNxT8CH6G9RI2Mpu4gFsQbEqQltt5ep0cGyHOWKUSxzojvvG7SI+TfF8eLr+yl9S939gCXMCxIVJB3A2IAbV3Cd7 X-Gm-Message-State: AOJu0YyAB81wQaLTX0OJ3FF0wFILqE2lzg1NbDxCKzCJAqr/DMJOYe5V gI+cIxrARJq6tL390YghUs3Bteze8suyc9N0vKrIHKyLdBssGyKSso+75d7Yqj4D3/j2HvLi5SA X7g== X-Received: by 2002:a17:906:5a87:b0:a59:5191:f0bf with SMTP id l7-20020a1709065a8700b00a595191f0bfmr2458304ejq.17.1714756383308; Fri, 03 May 2024 10:13:03 -0700 (PDT) Received: from mail-ej1-f52.google.com (mail-ej1-f52.google.com. [209.85.218.52]) by smtp.gmail.com with ESMTPSA id cw26-20020a170906c79a00b00a553574ae71sm1882754ejb.7.2024.05.03.10.13.02 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 03 May 2024 10:13:02 -0700 (PDT) Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a58e787130fso546417266b.0 for ; Fri, 03 May 2024 10:13:02 -0700 (PDT) X-Forwarded-Encrypted: i=1; AJvYcCWHTKrHVL9r8uCTCkbJhwE3XJUL3iEufxOBGlbNc4AVYKO7/yn71IyJUv6ZogkxzbnTc3S1QTJjDCcCqfHbado64TfCrmzDLGgVviKe X-Received: by 2002:a17:906:bcda:b0:a58:7172:1ab0 with SMTP id lw26-20020a170906bcda00b00a5871721ab0mr2748595ejb.16.1714756382125; Fri, 03 May 2024 10:13:02 -0700 (PDT) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <20240502-anx-tdm-v1-0-894a9f634f44@chromium.org> <20240502-anx-tdm-v1-1-894a9f634f44@chromium.org> <20240502-sheath-share-eac9afc24da9@spud> <20240503-footrest-gladly-c0ed7d92d816@spud> In-Reply-To: <20240503-footrest-gladly-c0ed7d92d816@spud> From: Hsin-Te Yuan Date: Sat, 4 May 2024 01:12:25 +0800 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH 1/2] dt-bindings: drm/bridge: anx7625: Add a perporty to change TDM setting To: Conor Dooley Cc: Hsin-Te Yuan , Andrzej Hajda , Neil Armstrong , Robert Foss , Laurent Pinchart , Jonas Karlman , Jernej Skrabec , David Airlie , Daniel Vetter , Maarten Lankhorst , Maxime Ripard , Thomas Zimmermann , Rob Herring , Krzysztof Kozlowski , Conor Dooley , Xin Ji , dri-devel@lists.freedesktop.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Sat, May 4, 2024 at 12:45=E2=80=AFAM Conor Dooley wro= te: > > On Fri, May 03, 2024 at 02:58:16PM +0800, Hsin-Te Yuan wrote: > > On Thu, May 2, 2024 at 10:47=E2=80=AFPM Conor Dooley = wrote: > > > > > > On Thu, May 02, 2024 at 09:03:31AM +0000, Hsin-Te Yuan wrote: > > > > Add a perporty to indicate whether anx7625 should shift the first a= udio > > > > data bit. The default TDM setting is to shift the first audio data = bit. > > > > > > > > Signed-off-by: Hsin-Te Yuan > > > > --- > > > > .../devicetree/bindings/display/bridge/analogix,anx7625.yaml = | 4 ++++ > > > > 1 file changed, 4 insertions(+) > > > > > > > > diff --git a/Documentation/devicetree/bindings/display/bridge/analo= gix,anx7625.yaml b/Documentation/devicetree/bindings/display/bridge/analogi= x,anx7625.yaml > > > > index a1ed1004651b9..915d5d54a2160 100644 > > > > --- a/Documentation/devicetree/bindings/display/bridge/analogix,anx= 7625.yaml > > > > +++ b/Documentation/devicetree/bindings/display/bridge/analogix,anx= 7625.yaml > > > > @@ -82,6 +82,10 @@ properties: > > > > type: boolean > > > > description: let the driver enable audio HDMI codec function o= r not. > > > > > > > > + no-shift-audio-data: > > > > + type: boolean > > > > + description: Disable the first audio data bit shift in the TDM= settings. > > > > > > This just looks like software policy, since there's no mention in the > > > commit message or description as to what property of the hardware cau= ses > > > this to be required. Can you please explain why this property is need= ed? > > > > > > You're also missing a vendor prefix. > > > > Sorry, I found this feature in the datasheet originally, but after > > deeper investigation, it seems that this feature should be used to > > support i2s dsp mode b instead of being used this way. Note that the > > difference between i2s dsp mode a and b is whether or not to shift the > > audio data by 1 clock cycle. > > Are you trying to say that this patch is not needed? I'm not really > sure. Yes! Regards, Hsin-Te