Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5082374rwb; Mon, 21 Nov 2022 16:30:57 -0800 (PST) X-Google-Smtp-Source: AA0mqf5zCWtIxjDJGBPDAG4Mw5Xj0htRKZeRTATpaCRBqGNXBpDdJf0dwzLnUEfUDAz5FK2itDGV X-Received: by 2002:a17:90b:2316:b0:20a:74b8:ea2a with SMTP id mt22-20020a17090b231600b0020a74b8ea2amr29861074pjb.73.1669077056815; Mon, 21 Nov 2022 16:30:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1669077056; cv=none; d=google.com; s=arc-20160816; b=Z7ioCo/7TUOIczKJebZ4BwwoHXUJdoexwDGu9Dp3OUGU5hqGsfq/VlmFZhHv5yGmyu YAdf2w+qmQYznrnoyTlYm0IS61OCZ0YVedioY7OI7WCIfrpkB/Q1/WibHIdeSzSY78Z0 gs45uRCm1V2fMwr7vgWXdvbDcDsJYZWtkaMRvO4Jt7XtlZIjzc31xvB+p+4hZCS7sMTZ 1hUyLFLu0mi0GKgSN2fWvSG1bsPoyZ3Q70nNET0jdzzLpoA81MugmgZ7CX62JqHUSRmL w2hIXhKiV5pETg1iM3D5JcAahTFjSbIi+9BpBeSnzncIT7yJYVtubs4ZFZqWbZJvZS++ JWFw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=qAZY/vvk7/59lE/gCpHRd0XFwcUsI8ld7WhZbbe+poc=; b=ggBW/gDTON0e6mXP3n45DL90SDQPP4QbZDqpDZvEJQRiR1fvtnvYHWJ0FbEjmTieFq GrfHGw29U1JPWFAnqxudbUnFTrkEkqFafxJiXRf6R1VZ67znOoJe7xDMr9GrZvX7BvXD 456AedLk/rS3sS/G2AuAcnq8rK71/MidV9zrnB8BESHEDPQzdQoSJa3U6oX+D2lFA3YF ZGNVZwU6jm4tXN+Ympn1DyU3M8Qbp8qmuGFPJTQy0hkd9nmUu8Vk3R4d6PygHwmc242D wXgRDj73y9WJDdI2UPyNOSvdz2oIKrjcXkIjlhR1zuVMGjRTUXKmU2WNnPcdyC+dG5Jk xzBA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=vrLr0tsR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id d22-20020a631d16000000b00464858cf6b1si11758956pgd.192.2022.11.21.16.30.43; Mon, 21 Nov 2022 16:30:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass (test mode) header.i=@ideasonboard.com header.s=mail header.b=vrLr0tsR; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229516AbiKUXHj (ORCPT + 91 others); Mon, 21 Nov 2022 18:07:39 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57870 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229509AbiKUXHV (ORCPT ); Mon, 21 Nov 2022 18:07:21 -0500 Received: from perceval.ideasonboard.com (perceval.ideasonboard.com [IPv6:2001:4b98:dc2:55:216:3eff:fef7:d647]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B5FE8D39D5; Mon, 21 Nov 2022 15:07:20 -0800 (PST) Received: from pendragon.ideasonboard.com (62-78-145-57.bb.dnainternet.fi [62.78.145.57]) by perceval.ideasonboard.com (Postfix) with ESMTPSA id BD79188F; Tue, 22 Nov 2022 00:07:18 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ideasonboard.com; s=mail; t=1669072039; bh=sbEIXdMpmY1oTe55o+FSsZLPrYLr+FsHdEDQECa5wfY=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=vrLr0tsRblY1ISuYN5mNXXYSS1/ISPVEdQrWDRQS5dW9Bonn7xJvX/0w613sWZ9kQ O+niTIteloFGGNXWqqQt16B7fz3sNi2z8jlT3xchNUI5m5LwxAp3RLRIDpYPif3N3K SKOE3m5MLAzUsV1gA8feeMUISPDj2YucG/jnZu+w= Date: Tue, 22 Nov 2022 01:07:03 +0200 From: Laurent Pinchart To: Umang Jain Cc: linux-media@vger.kernel.org, kernel-list@raspberrypi.com, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-staging@lists.linux.dev, Broadcom internal kernel review list , Dave Stevenson , Florian Fainelli , Naushir Patuck , David Plowman , Kieran Bingham Subject: Re: [PATCH 02/14] staging: vchiq_arm: Register vcsm-cma as a platform driver Message-ID: References: <20221121214722.22563-1-umang.jain@ideasonboard.com> <20221121214722.22563-3-umang.jain@ideasonboard.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20221121214722.22563-3-umang.jain@ideasonboard.com> X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_PASS,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Umang and Dave, Thank you for the patch. On Tue, Nov 22, 2022 at 03:17:10AM +0530, Umang Jain wrote: > From: Dave Stevenson > > Following the same pattern as bcm2835-camera and bcm2835-audio, > register the vcsm-cma driver as a platform driver. > > Signed-off-by: Dave Stevenson > Signed-off-by: Umang Jain Reviewed-by: Laurent Pinchart > --- > drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c > index dc33490ba7fb..642fdbc0d654 100644 > --- a/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c > +++ b/drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c > @@ -67,6 +67,7 @@ struct vchiq_state g_state; > > static struct platform_device *bcm2835_camera; > static struct platform_device *bcm2835_audio; > +static struct platform_device *vcsm_cma; > > struct vchiq_drvdata { > const unsigned int cache_line_size; > @@ -1832,6 +1833,7 @@ static int vchiq_probe(struct platform_device *pdev) > goto error_exit; > } > > + vcsm_cma = vchiq_register_child(pdev, "vcsm-cma"); > bcm2835_camera = vchiq_register_child(pdev, "bcm2835-camera"); > bcm2835_audio = vchiq_register_child(pdev, "bcm2835_audio"); > > @@ -1847,6 +1849,7 @@ static int vchiq_remove(struct platform_device *pdev) > { > platform_device_unregister(bcm2835_audio); > platform_device_unregister(bcm2835_camera); > + platform_device_unregister(vcsm_cma); > vchiq_debugfs_deinit(); > vchiq_deregister_chrdev(); > -- Regards, Laurent Pinchart