Received: by 2002:a05:7412:2a8c:b0:e2:908c:2ebd with SMTP id u12csp131516rdh; Sat, 23 Sep 2023 04:41:37 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGXP+SQCR8YISp7mcoA1TGaeH+AU13FiEUHuKGNP/g5qs0pn4a+4yP1TNN9mc0RKbn65h53 X-Received: by 2002:a05:6a00:14c4:b0:690:1857:3349 with SMTP id w4-20020a056a0014c400b0069018573349mr2520487pfu.25.1695469297198; Sat, 23 Sep 2023 04:41:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1695469297; cv=none; d=google.com; s=arc-20160816; b=zxYbTbhHFsyNArNTWLZ1tdoGGsv35MQngnLYdcYnE+OTE58VD9UzhZNfsTxFc+TPtM Q7D8R1IOKeQkEhr6uwacQkZyQDoSsyXtX+SMboY+IVpvcB81aTFUfqiCZV+1RpVitGg2 SUybHAt8XSANsm4J4lusrsPQocNmcj6UUjcM/jerlXJxzezY4EddeBrIcig5v+ngThei YXIk/lOU8sprMpJGohrE+EjRzlE7opkdjvAdjnCoDVV48v1pJWu5F6OMyFhTPFJzbnOc yYWQ8P/bDp4vaXiGuc9mLoGQo3de9cOcDOvyfVj+w1F27UcHXLplUY37AKdAsuzzE0O8 lLCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :content-language:references:cc:to:subject:user-agent:mime-version :date:message-id:dkim-signature; bh=C9OqBmSgKLAelQ9c1dOFNvBf3yhZwRiyAcB2UpmpGjA=; fh=p5R404cuQWSFyCRf+U7atGeqX3oRd/QRQHGmguL6c0s=; b=ZlTZOv3jmDGcQ7XHt/v7Ow13YuhOMUNZq0ooeGJeV9sotnwjBV20FUQY7iEC8oM2C1 fvWm9YFA6gC+enxxulhy2sAt+yA2Vf1YXK5z0Srm70Xh/j4m0QSF6UaTYNdVWYs8Yzd4 1qVhaP2vJApD7ODNsz79Y80zfu50UM3iVxF1k6e0i6Txdc1aoTo9znUpXaeefOnGVtAW iWzeplVHA3KP6XggMeYXDsCfJNeUR3gfJkyDzpFVi635p0gFiU0ajMt6IjcKRfUU80tc Kd8gNUcuYF3HhfX1ScqV/V45Ec6GPehoCJpMuVjehv+wq9ilIpMP2ITBJ+2bqoVfuMv+ UxmA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cs4W1QnH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id e22-20020a62aa16000000b0069100706960si5504050pff.116.2023.09.23.04.41.36 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Sep 2023 04:41:37 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Cs4W1QnH; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id EB9F481AC697; Sat, 23 Sep 2023 04:41:33 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231222AbjIWLlY (ORCPT + 99 others); Sat, 23 Sep 2023 07:41:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47022 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230205AbjIWLlX (ORCPT ); Sat, 23 Sep 2023 07:41:23 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B379F11D; Sat, 23 Sep 2023 04:41:17 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id CAF22C433C8; Sat, 23 Sep 2023 11:41:12 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1695469277; bh=ZON8kr4GUbYCZ4b1kB2ZVW9g0A5X9VAu+hWS6y27YS4=; h=Date:Subject:To:Cc:References:From:In-Reply-To:From; b=Cs4W1QnHJGdeNRwXe4HEks+w+f6j3Fn1juZdszAiLF48MCO4w7UXnWk2U5k6XUz53 SnzxBG54ya35i38EY4ZcExrcTIaT3ofzaj+vnMEhHZV8PylCdeT4seVmpm81sBYLin H+DFX/5K9hCaAi7mqwUIn+2dsxI6BaqWfuAmvm6bzyWqd90+OIumvK7j7Ij2R5nBmr xGsqV2H0NpVPvfVIcNe+ZXkXBesw/zmjvBBc0oCMHXkayN0FwOk9S+gmNIfGI99G2U SWVJxKEKfJ7UaBByAc8vOzXazFiIl6NA8zE+/hJagc9hwcc0e+/dCqUd73UtKfOYN3 Q8nsw+pOd+DKg== Message-ID: <8eae1b18-b7dc-6e33-eb53-3b9df0d20dc6@kernel.org> Date: Sat, 23 Sep 2023 13:41:08 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.15.1 Subject: Re: [EXT] Re: [PATCH v2 2/2] dt-bindings: media: imx-jpeg: Assign slot for imx jpeg encoder/decoder To: Ming Qian , "Mirela Rabulea (OSS)" , "robh+dt@kernel.org" , "shawnguo@kernel.org" Cc: "mchehab@kernel.org" , "hverkuil-cisco@xs4all.nl" , "s.hauer@pengutronix.de" , "kernel@pengutronix.de" , "festevam@gmail.com" , "X.H. Bao" , Eagle Zhou , Tao Jiang , dl-linux-imx , "linux-media@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-arm-kernel@lists.infradead.org" References: <20230921063620.22962-1-ming.qian@nxp.com> <20230921063620.22962-2-ming.qian@nxp.com> <19d2bc5c-2662-6ed8-cc3d-7efb82fd1825@kernel.org> Content-Language: en-US From: Krzysztof Kozlowski In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI,NICE_REPLY_A, RCVD_IN_SBL_CSS,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (lipwig.vger.email [0.0.0.0]); Sat, 23 Sep 2023 04:41:34 -0700 (PDT) On 22/09/2023 03:33, Ming Qian wrote: >> From: Krzysztof Kozlowski >> Sent: 2023年9月21日 17:55 >> To: Ming Qian ; Mirela Rabulea (OSS) >> ; robh+dt@kernel.org; shawnguo@kernel.org >> Cc: mchehab@kernel.org; hverkuil-cisco@xs4all.nl; s.hauer@pengutronix.de; >> kernel@pengutronix.de; festevam@gmail.com; X.H. Bao >> ; Eagle Zhou ; Tao Jiang >> ; dl-linux-imx ; linux- >> media@vger.kernel.org; linux-kernel@vger.kernel.org; linux-arm- >> kernel@lists.infradead.org >> Subject: [EXT] Re: [PATCH v2 2/2] dt-bindings: media: imx-jpeg: Assign slot for >> imx jpeg encoder/decoder >> >> Caution: This is an external email. Please take care when clicking links or >> opening attachments. When in doubt, report the message using the 'Report >> this email' button >> >> >> On 21/09/2023 08:36, Ming Qian wrote: >>> There are total 4 slots available in the IP, and we only need to use >>> one slot in one os, assign a single slot, configure interrupt and >>> power domain only for 1 slot, not for the all 4 slots. >> >> Please use scripts/get_maintainers.pl to get a list of necessary people and lists >> to CC. It might happen, that command when run on an older kernel, gives you >> outdated entries. Therefore please be sure you base your patches on recent >> Linux kernel. >> >> You missed at least devicetree list (maybe more), so this won't be tested by >> automated tooling. Performing review on untested code might be a waste of >> time, thus I will skip this patch entirely till you follow the process allowing the >> patch to be tested. >> >> Please kindly resend and include all necessary To/Cc entries. >> >>> >>> Signed-off-by: Ming Qian >>> --- >>> .../bindings/media/nxp,imx8-jpeg.yaml | 40 ++++++++----------- >>> 1 file changed, 16 insertions(+), 24 deletions(-) >>> >>> diff --git >>> a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml >>> b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml >>> index 3d9d1db37040..5f0e2fc1ea9c 100644 >>> --- a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml >>> +++ b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml >>> @@ -32,25 +32,27 @@ properties: >>> maxItems: 1 >>> >>> interrupts: >>> - description: | >>> - There are 4 slots available in the IP, which the driver may use >>> - If a certain slot is used, it should have an associated interrupt >>> - The interrupt with index i is assumed to be for slot i >>> - minItems: 1 # At least one slot is needed by the driver >>> - maxItems: 4 # The IP has 4 slots available for use >>> + description: >>> + Interrupt number for slot >>> + maxItems: 1 >>> >>> power-domains: >>> description: >>> List of phandle and PM domain specifier as documented in >>> Documentation/devicetree/bindings/power/power_domain.txt >>> - minItems: 2 # Wrapper and 1 slot >>> - maxItems: 5 # Wrapper and 4 slots >>> + minItems: 1 # VPUMIX >>> + maxItems: 2 # Wrapper and 1 slot >>> + >>> + slot: >>> + description: >>> + Integer number of slot index used. the value range is from 0 to >>> + 3 >> >> Don't you have here obvious errors reported by testing? Did you test this? >> >> Best regards, >> Krzysztof > > Hi Krzysztof, > Can you point out which test error? I run the dt_binding_check and didn't get any error. Hm, I guess we need to add some checks for this... You miss type and vendor prefix. This does not look like generic property. Constraints are also missing, but that's minor. The main point is that this does not look suitable for DT at all. Your description says nothing - copies property name. Commit msg also does not explain it. Best regards, Krzysztof