Message ID | 20190805134102.24173-6-jbrunet@baylibre.com |
---|---|
State | Superseded |
Headers | show
Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp4312086ile; Mon, 5 Aug 2019 06:41:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqxM+/xqRiLRToAQySnY44mUcWJkh2AV9MO6VD1l9L48tZt6q9YGPz6R7+9ahUZqo5obv2vS X-Received: by 2002:a62:e910:: with SMTP id j16mr75140601pfh.123.1565012480137; Mon, 05 Aug 2019 06:41:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1565012480; cv=none; d=google.com; s=arc-20160816; b=GvSkN/8Rym1Cw5FHvWe7+QXVpB1YORvTET1llFdDeO2rdJIUP82867IhQF3Eok2087 AvpURL43ddG1XSHEInw1bBK+g42CR81cQQUZHy7MqORME5ujCytFfSSHiLD+w5jtYgQS qK7batFsnzGcIEjJAlmes9iGUer5LSR9ZobfmhiKVRYNYFDV81vR+0fz6AspYjhzaQDB q1/sXAVzdwlrSkABLD1HwbbmSLix57ga/almAntnCMVG5GILrS8UQSfHoGqGhENmxYDz LHKFhm48nRfReGbG5BvTXVcAbt+QSE0JDrrBVpGHabsmcQMubrS4CZ+HrxEwFUtDLVxj DHJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=2grGK+7b0cBByVRRUu0+TFl4ki5jcSq2t6fD2bzIBcg=; b=Nuh86SuBE9SYCBNji6S7ASCunkf4hivJLXbC/+RYGyEr/HW4eO6dtFZNRTKutUjpKP ZsiaX2gNKrTg/PYJJIKCEfonzW/uDjb3fCfC9UTH7QOobW1RqA1KxtlEEvJEhLFMPyMb vdiCkFGcd/DYVd60diDdmo6rRHYc9ey2oFjy/d9YzI8SeEaQn55V6rdIHCqbSKEuCIfK w06UmEM7E/6FvkZrqU2RhJh8dHpPKkGAKjqgqEVYXrlPnLCM8T//pYjNVeYRJ3qevLZe 2m1sttGTlFUoLkRP+IY7z99KPpn2vVYK2UwUUVD34N/4Pg/MQwS4g3jCQo6xB7R61MDg SN1Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=XY6BtsEB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: <linux-kernel-owner@vger.kernel.org> Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t190si42828725pgd.465.2019.08.05.06.41.19; Mon, 05 Aug 2019 06:41:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@baylibre-com.20150623.gappssmtp.com header.s=20150623 header.b=XY6BtsEB; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729659AbfHENlS (ORCPT <rfc822;mike.holmes@linaro.org> + 29 others); Mon, 5 Aug 2019 09:41:18 -0400 Received: from mail-wm1-f66.google.com ([209.85.128.66]:56082 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729363AbfHENlN (ORCPT <rfc822;linux-kernel@vger.kernel.org>); Mon, 5 Aug 2019 09:41:13 -0400 Received: by mail-wm1-f66.google.com with SMTP id a15so74795131wmj.5 for <linux-kernel@vger.kernel.org>; Mon, 05 Aug 2019 06:41:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=baylibre-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=2grGK+7b0cBByVRRUu0+TFl4ki5jcSq2t6fD2bzIBcg=; b=XY6BtsEB1h0Gtg+bL5p1xMMozbLebyArx8o4E98A64UfAQwGnp5hTTSwxO3wBSrqNs sjtDhqO4sss6ywReivGGAP6VbBnP2qbrBZ5RDcxsWDX2P+Q9CaAIWgOrJZQHEH+twJPE C/kxG+bLpg59JjLS7HcM/K2Pehm7/j8fiXU6UnxOoJr101ja8u28RuDLs8CT+zvN5Rvg 2Ns0saVhFskKwefkeTaCx8x6mDEL08r4MclXBIMcTbDgbjKDJp0E1Nz+mXzDNqVCTsRy fUbTPcQbKGuYauyamy2q/FlnfnOy4z8lWR0PNpP7fonXJu8qTymVLyzDNFJJVjFG2kGu yZyg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=2grGK+7b0cBByVRRUu0+TFl4ki5jcSq2t6fD2bzIBcg=; b=ZMu/g/4uZ2JYXJIfDViAxZb/BwUkW8niLhJwWH1zKsta+B20aQ2LIUyBHZrdm704/5 2jElQZrb18QBpKQqYaFWeDI3mJPs/bPVYEuCCKiclI5cpgL5lJNUNAvqsfqMZPCmR5ei AUQwvryRoSTbiWEz5Ply8Mgold41lEY1yqNRNfewiEIUW3Jwx1w0H77cTxODVSqI3s4U 1aw0rUm60O+Q0QzoP5KZXmw0GHDdOBtvdrd23WDLdABQ/28Y3eeAbNM2c1oPeU6hMxiS aTEtNZq/g0mROYUlby7HbVHtJ1L+k/Cn3pKe80Y1DnY34RnbKcmr5fR+ODEcRQA3dErC rV6g== X-Gm-Message-State: APjAAAU7pi1IEmSECNEA8X7zJG8vPOwWiZ8xENAgB/4Tj+epCv/D6xuN gF1lSaBnDJzzQJ1PXBsFTdVsfQ== X-Received: by 2002:a1c:a7c6:: with SMTP id q189mr19275733wme.146.1565012471772; Mon, 05 Aug 2019 06:41:11 -0700 (PDT) Received: from starbuck.baylibre.local (lmontsouris-657-1-212-31.w90-63.abo.wanadoo.fr. [90.63.244.31]) by smtp.googlemail.com with ESMTPSA id w7sm99040534wrn.11.2019.08.05.06.41.10 (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Mon, 05 Aug 2019 06:41:10 -0700 (PDT) From: Jerome Brunet <jbrunet@baylibre.com> To: Andrzej Hajda <a.hajda@samsung.com>, Neil Armstrong <narmstrong@baylibre.com> Cc: Jerome Brunet <jbrunet@baylibre.com>, Kevin Hilman <khilman@baylibre.com>, Jonas Karlman <jonas@kwiboo.se>, linux-amlogic@lists.infradead.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org Subject: [PATCH 5/8] drm/bridge: dw-hdmi-i2s: set the channel allocation Date: Mon, 5 Aug 2019 15:40:59 +0200 Message-Id: <20190805134102.24173-6-jbrunet@baylibre.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20190805134102.24173-1-jbrunet@baylibre.com> References: <20190805134102.24173-1-jbrunet@baylibre.com> MIME-Version: 1.0 X-Patchwork-Bot: notify Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: <linux-kernel.vger.kernel.org> X-Mailing-List: linux-kernel@vger.kernel.org |
Series |
drm/bridge: dw-hdmi: improve i2s support
|
expand
|
diff --git a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c index caf8aed78fea..0864dee8d180 100644 --- a/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c +++ b/drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c @@ -85,6 +85,7 @@ static int dw_hdmi_i2s_hw_params(struct device *dev, void *data, dw_hdmi_set_sample_rate(hdmi, hparms->sample_rate); dw_hdmi_set_channel_count(hdmi, hparms->channels); + dw_hdmi_set_channel_allocation(hdmi, hparms->cea.channel_allocation); hdmi_write(audio, inputclkfs, HDMI_AUD_INPUTCLKFS); hdmi_write(audio, conf0, HDMI_AUD_CONF0);
setup the channel allocation provided by the generic hdmi-codec driver Cc: Jonas Karlman <jonas@kwiboo.se> Signed-off-by: Jerome Brunet <jbrunet@baylibre.com> --- drivers/gpu/drm/bridge/synopsys/dw-hdmi-i2s-audio.c | 1 + 1 file changed, 1 insertion(+) -- 2.21.0