Received: by 2002:a05:6a10:c7c6:0:0:0:0 with SMTP id h6csp1812063pxy; Mon, 2 Aug 2021 10:47:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxtOVMc6RvZqteyA9LSkjXxKRZVtdLutIXI6joXDrlulNlNp511hwJuVwFJD/pogzSE9Ylh X-Received: by 2002:a17:906:a108:: with SMTP id t8mr16353460ejy.407.1627926444505; Mon, 02 Aug 2021 10:47:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627926444; cv=none; d=google.com; s=arc-20160816; b=ojfXoAUCr43apafOCFcheuJvT+ill07uzgKpxUL5aFJotVNJPWnSv4HMhIniseIRd/ eE755fHdH6ecrwMUWdMYoPujtynrViM1LWsiYTg74OdeQi4P/aKJx2SbljbQungGD0Pj CPUe1/6c5H4YlLvuUkmGkYnhm2LNmv7gi+MiqjxhallbQRIhorG3Bdcu1tBLbb6eYmBd RaLjJZv0BI7g7Tk4aIg+QP46iXTrG8DBqrPXkLY6boxwJ4QGYMTqd9AhMgs+DHBbyhAi 1FA0egxPx5tHdJUqfTqQooz849U10FFWBkH4n5Qn5G4PWZvNutHC0NSrctsIn8T0edga 9RsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=/MV1SqfZDqSjnKYz3E5OcXaLSAPtXM8imp3PF9KeJ6w=; b=DEs0CIuKrE3UBhUIK8zEg1ASJgoOKC0xbAtJqHoExdjJKeCcdWV1BhheeqhEXw3n+N FPD4sS2gI29OmzR/Gh2BJkcPelCSBnja2xK2zDjQCPVFCCaK9/hvET65pmfx9eyfM7EJ 08flirVCWV8PtbXhNayMvlcRf0YiaPtjTG6vkVLooNxwGm1uT6WOBf2Ah++dr9BFRCzA OsJP9V3sc60t/nNHcf0I4BEgWDUjkZTKUl5X0qFqv5l3YhKZOYuiuydfvaGVyv3Zl6Wh cFcw9cLm+0QC5thJjI6vrIFFDOI6lyYAmze6gFTFrd/F5Ojjqbr26G4bwDBnZ9QAtPXZ GP7g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JLNcDLdr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gt4si10467242ejb.382.2021.08.02.10.46.57; Mon, 02 Aug 2021 10:47:24 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=JLNcDLdr; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229843AbhHBRmn (ORCPT + 99 others); Mon, 2 Aug 2021 13:42:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41452 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230095AbhHBRml (ORCPT ); Mon, 2 Aug 2021 13:42:41 -0400 Received: from mail-pl1-x62c.google.com (mail-pl1-x62c.google.com [IPv6:2607:f8b0:4864:20::62c]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21E36C06175F for ; Mon, 2 Aug 2021 10:42:31 -0700 (PDT) Received: by mail-pl1-x62c.google.com with SMTP id q2so20474639plr.11 for ; Mon, 02 Aug 2021 10:42:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=/MV1SqfZDqSjnKYz3E5OcXaLSAPtXM8imp3PF9KeJ6w=; b=JLNcDLdrJL4Msy1I++J0coVrrw04XRKQKYLkrVQqlvV7ynZR3/mzLHiZCIutzaJb/F +ga2yTsO+R0O01s3DtrT6d8eGglUWa7zoEblGB/j7Hpd7wnGwlaFeU5Q2ylrngArPeSP fw5NIqB4ld6FaVXXNsaHstiIGrWnRJoD+pkMJn7W84+HQmoT9+keyvMLx0y95J3ToNWO Z+gld0gS1P3k8Y5pD2vy13mp8Gsuyy4roBADyo+Kvmgx8si/PHgZ9/fZ2gvtJMhpJnjx 3NK1acO0PUswo45s3fMsvt4UVtocvYsRVR9ujZ6qhquvGeQpitN4wDJPEunYkHeM5NFt sIHA== 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=/MV1SqfZDqSjnKYz3E5OcXaLSAPtXM8imp3PF9KeJ6w=; b=nxykyquHsJjm5dafMmQsKXX9UnclTHZ0Upm896NKQbSTK1+gB/HNfHG9ny7yXn+vTm RRZ3gLELxIGSWp66v9/OYDTb/MlW4DNjNwCYE3aNzcfh6DVPVrXVp2xsMrKAFUwIr8Uj 2PmVhDXYP8Ndnn217nP4Fh5neVkWnhFToOZ6eCmuR2b6PEtzekefNNW0o1EW5zC1nuwZ ZnkcUtTZUj+yNRxAFkRW8qjXWhW/ssEFKEOVbKtsEKhHebIVDaGGL95y6uA+zHkXjudX 92tM8dZHJLTiDSD1bYflWXKHmgcAlXWEk+FQNMacz/k5Ln2lz5u7If7BujCS5N0mwvh/ bH3w== X-Gm-Message-State: AOAM531ybzLudYmKsFoDFG0ZfzDFbPCVieT+cX5W1pAWK9GG+YfH8ql3 SFWRDP2R/DU9+56kT806bUQ= X-Received: by 2002:a17:90b:1297:: with SMTP id fw23mr18066334pjb.115.1627926150679; Mon, 02 Aug 2021 10:42:30 -0700 (PDT) Received: from localhost.localdomain ([122.161.50.148]) by smtp.googlemail.com with ESMTPSA id t30sm14449236pgl.47.2021.08.02.10.42.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 Aug 2021 10:42:30 -0700 (PDT) From: Ojaswin Mujoo To: nsaenz@kernel.org, gregkh@linuxfoundation.org, stefan.wahren@i2se.com Cc: dan.carpenter@oracle.com, phil@raspberrypi.com, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 2/2] staging: vchiq: Add details to Kconfig help texts Date: Mon, 2 Aug 2021 23:12:11 +0530 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Add some details to the Kconfig definitions of $CONFIG_VCHIQ_CDEV and $CONFIG_BCM2835_VCHIQ to help make the motive behind the configs a bit more clear. Signed-off-by: Ojaswin Mujoo --- drivers/staging/vc04_services/Kconfig | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/drivers/staging/vc04_services/Kconfig b/drivers/staging/vc04_services/Kconfig index ad44b80f13ca..cb7c82403dbf 100644 --- a/drivers/staging/vc04_services/Kconfig +++ b/drivers/staging/vc04_services/Kconfig @@ -15,18 +15,27 @@ config BCM2835_VCHIQ tristate "BCM2835 VCHIQ" imply VCHIQ_CDEV help - Kernel to VideoCore communication interface for the - BCM2835 family of products. - Defaults to Y when the Broadcom Videocore services - are included in the build, N otherwise. + Broadcom BCM2835 and similar SoCs have a VPU called VideoCore. This config + enables the VCHIQ driver, which implements a messaging interface between + the kernel and the firmware running on VideoCore. Other drivers use this + interface to communicate to the VPU. More specifically, the VCHIQ driver is + used by audio/video and camera drivers as well as for implementing MMAL + API, which is in turn used by several multimedia services on the BCM2835 + family of SoCs. + Defaults to Y when the Broadcom Videocore services are included in + the build, N otherwise. if BCM2835_VCHIQ config VCHIQ_CDEV bool "VCHIQ Character Driver" help - Enable the creation of VCHIQ character driver to help - communicate with the Videocore platform. + Enable the creation of VCHIQ character driver. The cdev exposes ioctls used + by userspace libraries and testing tools to interact with VideoCore, via + the VCHIQ core driver (Check BCM2835_VCHIQ for more info). + This can be set to 'N' if the VideoCore communication is not needed by + userspace but only by other kernel modules (like bcm2835-audio). If not + sure, set this to 'Y'. endif -- 2.25.1