From patchwork Thu Mar 27 02:39:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ken Lin X-Patchwork-Id: 14030748 Received: from mail-pl1-f175.google.com (mail-pl1-f175.google.com [209.85.214.175]) (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 7E521126C02 for ; Thu, 27 Mar 2025 02:39:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.214.175 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743043171; cv=none; b=NHA/+K/9aAG3cEmd70AgFu9/zaPIG6BR4OHgrThOAAHORLF3kWCxYNDJ9hNQPBL4sE8bQ+vNcNj8EYdXOWjTkWNPkZ+HiN6w7D5XzO1zoVuF5tFM+ACTlApts0fwDEGjUMbffngkaO99HMoQMNFsgjPaA4B9bBKchJun4iMEoPY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1743043171; c=relaxed/simple; bh=bfZnAhWbIHetf94vPVxB6NVwMTgNEQjCKhpHr0TUlx8=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=mE3Vu2ZJUn9p/j4VTEi4Nz8jrS1ISU7nNCPfYKP16Z3BAzirE0U6+Sj3Ggd0Fxr8DsPmVpzu/601DJFZp8aa8GGaapDGvtCKgF6T4ulOaB1Qhv8PjATDAiCkYNn0aoTVNlTCUjL1t8fMX/dnBFWrHANPKUBbELqNiBrDif2b93o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=quanta.corp-partner.google.com; spf=pass smtp.mailfrom=quanta.corp-partner.google.com; dkim=pass (2048-bit key) header.d=quanta-corp-partner-google-com.20230601.gappssmtp.com header.i=@quanta-corp-partner-google-com.20230601.gappssmtp.com header.b=XH5SV8rl; arc=none smtp.client-ip=209.85.214.175 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=quanta.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=quanta.corp-partner.google.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=quanta-corp-partner-google-com.20230601.gappssmtp.com header.i=@quanta-corp-partner-google-com.20230601.gappssmtp.com header.b="XH5SV8rl" Received: by mail-pl1-f175.google.com with SMTP id d9443c01a7336-22423adf751so9588655ad.2 for ; Wed, 26 Mar 2025 19:39:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=quanta-corp-partner-google-com.20230601.gappssmtp.com; s=20230601; t=1743043169; x=1743647969; darn=lists.linux.dev; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=khaZwp5Vq6UxSHSInGWQoaGrGmu008TcfrCzn3Sp1jE=; b=XH5SV8rlVoWpXou1lgIZVDAukqtSUp69HvbLU/ltzm4y2DmnURoJ6WtjTFRy04qucx e4bvvbrlICZ7r0LCNKO/GBbm1DGcHti6ishgZmOdALGw33PAizTh9h3FJp+8/+jas8Te q9bnOnSqoC7UYyyFTvPmIEjNXFs1PKh2dWYgosyGHFzAidCvqw5dqyL1aSgSJM7FBGGv nVryro4m8Ahnu+7I/B3JAy3wl/sztgXrlyTsoQ5G69eG/8bOqr7hhucmY5MyVvWvEHBA kvW3GG6abfkbPC60Y7bjeDBhL+iJ24WFxCi0pqKRIQVlxj40U3NbWV/R+n/CQ04/95ju zChg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1743043169; x=1743647969; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=khaZwp5Vq6UxSHSInGWQoaGrGmu008TcfrCzn3Sp1jE=; b=fwzhh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tp-Source: AGHT+IHVjsfEKk7SQAq4/COA7W8hgn5DQ0NFXJ8KTp6oRzGgyMHcaaVaDn7SD+ynl26dPt1q9peR9A== X-Received: by 2002:a05:6a00:189c:b0:736:6ecd:8e32 with SMTP id d2e1a72fcca58-739610dbcecmr2571003b3a.21.1743043168560; Wed, 26 Mar 2025 19:39:28 -0700 (PDT) Received: from localhost.localdomain (2001-b400-e33a-bfe3-438c-4ad1-9019-9f7c.emome-ip6.hinet.net. [2001:b400:e33a:bfe3:438c:4ad1:9019:9f7c]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-739061592b9sm13027897b3a.152.2025.03.26.19.39.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Mar 2025 19:39:28 -0700 (PDT) From: Ken Lin To: LKML Cc: Benson Leung , groeck@chromium.org, Hans Verkuil , Krzysztof Kozlowski , Mauro Carvalho Chehab , Tzung-Bi Shih , =?utf-8?q?Uwe_Kleine-K=C3=B6nig?= , chrome-platform@lists.linux.dev, linux-media@vger.kernel.org Subject: [PATCH] UPSTREAM: media: platform: cros-ec: Add Moxie to the match table Date: Thu, 27 Mar 2025 10:39:21 +0800 Message-Id: <20250327103918.1.I704cb6f738208386a0d431d355169c6fdf0f51bc@changeid> X-Mailer: git-send-email 2.25.1 Precedence: bulk X-Mailing-List: chrome-platform@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 The Google Moxie device uses the same approach as the Google Brask which enables the HDMI CEC via the cros-ec-cec driver. Hans Verkuil , Mauro Carvalho Chehab , Reka Norman , Stefan Adolfsson , Signed-off-by: Ken Lin --- drivers/media/cec/platform/cros-ec/cros-ec-cec.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c index 12b73ea0f31d..1de5799a0579 100644 --- a/drivers/media/cec/platform/cros-ec/cros-ec-cec.c +++ b/drivers/media/cec/platform/cros-ec/cros-ec-cec.c @@ -329,6 +329,8 @@ static const struct cec_dmi_match cec_dmi_match_table[] = { { "Google", "Dexi", "0000:00:02.0", port_db_conns }, /* Google Dita */ { "Google", "Dita", "0000:00:02.0", port_db_conns }, + /* Google Moxie */ + { "Google", "Moxie", "0000:00:02.0", port_b_conns }, }; static struct device *cros_ec_cec_find_hdmi_dev(struct device *dev,