Received: by 2002:a05:7412:f690:b0:e2:908c:2ebd with SMTP id ej16csp804055rdb; Thu, 19 Oct 2023 22:37:47 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3CpzG/srO4TVZZas7rvowxJ+2E2sr00xMa6rXz5qgAjGTSsEdNwXMY/Zvg6R1O7oYiITW X-Received: by 2002:a17:90a:31cb:b0:27d:237b:c71b with SMTP id j11-20020a17090a31cb00b0027d237bc71bmr788016pjf.3.1697780267093; Thu, 19 Oct 2023 22:37:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1697780267; cv=pass; d=google.com; s=arc-20160816; b=weunnOSEy8BdYY5lMSlilouxxix2mfaCB3tAddDKHddo/1IIb6GPyywR0QC7G7Lxze sBeYHeoMLkRTzfdf8uAqDtxnFtjHLzIz5VD5zYu+QYkHAvCiE7ILV+PXgJG93Tb51OYl J/SSE02vPjtjsiSraXXKBDgLVxQwbFM05MrRmFN1CQRviYXD6iRaF+C7z/iuVWMTgBKP UlBwi5qT6FJ3pR4YrpfA7YQKRs7on97qqU9XiVdQEHP5khQvTME9nRYsCkNaJG4p3KjV /qZqVpO8h3ZkzNt69+sqp7AhdPl4xxVgMFSszEQvLEXsSH2RsmexSpTVmNP6gCAjkyEq mL+w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :in-reply-to:content-language:references:cc:to:from:subject :user-agent:date:message-id:dkim-signature; bh=6BlfwJY3I2+SSw4EVPPGq4z3YdlMPRqvCBUd+APhTag=; fh=65+c8oGSFwMwBofmPVDSrpvN/0RtOk88dO8gJzQuBO0=; b=TuvWL6er5S3FiIMLz0vs0cA975szUNy/MMJOtJdQRYLL0/y3Y5JWQ48CZW/sDFpPVm CDiF92O9vfujNLK3F+fsAWLU6wv6GMZXJnhGCKEE9bafi5oN5C9jwo20nHAbyTiyBDug WSyL78UImZo3j7z/bHS0H6s971qCVMFbqzJ50WzM9uFykrm3xS1tizr8Jk/9a28EsYsa N+V34i+CX9TSeshR11cjkK02WQfODstxh/KEZtYRFmkQhuGGYwlh6CQ8UvVib177yVMM PvRZUBAlkB3XvoyS9rOZPkw1bKqwGioq4nHRD/xJC6GNVRcIWYSJ7NbfbXBKihdrCYAV viOg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=YpjG7kGT; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id h19-20020a17090aea9300b002777081181fsi3504110pjz.51.2023.10.19.22.37.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 19 Oct 2023 22:37:47 -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=@NXP1.onmicrosoft.com header.s=selector2-NXP1-onmicrosoft-com header.b=YpjG7kGT; arc=pass (i=1 spf=pass spfdomain=oss.nxp.com dkim=pass dkdomain=oss.nxp.com dmarc=pass fromdomain=oss.nxp.com); 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=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 72C50807384A; Thu, 19 Oct 2023 22:36:45 -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 S1345092AbjJTFgf (ORCPT + 99 others); Fri, 20 Oct 2023 01:36:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53788 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233509AbjJTFge (ORCPT ); Fri, 20 Oct 2023 01:36:34 -0400 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04on2049.outbound.protection.outlook.com [40.107.6.49]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 48D34C9; Thu, 19 Oct 2023 22:36:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=kuF02Nc1kdUBwIMAo+eXxGbQRQJiH7LpYZMB4G9CrEWsq2MJl599gqf31o7h39NWqgs4oDCIS5CLYJDlhSbQw9BkJ0lI5ebWcrkQZEsstV52OZ2rBJO/Gsmsb06KOqBNGqU43n5dcclinmg0QYGUu2hYh5DGJIlWkxqlkR5U+B4CKQbblyB+R9dEnJHJzPjh7Iq+J9T16zN0W4/RSRBCN7kD2fKG/lTCpVcYPkzRZ2njBDKC44E3iaF698h5OiI+QRGeoqdDKuqI3HL7m9VOSujhPkARe6PTLNIuGtGQjTvZnxPS0fjg3bAZ64zUCn3sWwL+psI9j3fL8IDZHcmoug== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=6BlfwJY3I2+SSw4EVPPGq4z3YdlMPRqvCBUd+APhTag=; b=L/oxdJHoyOiPmfWs2tpDqKq2uZFRU7ylnPBY0RgWXrvaAwmVkYYhWEl0Bs10wP2CfNmzZkXgkOrBvLh9a5Xq7T7/69/RY36277ccyWczh+LnMPF+0nJt76Wauxa8WyNxZh8v13F0lKbD26+tXbmrAZw+U8W7eEmfeitx/1XRFdjOmp6BarJp0Wr1SMIl9hxPtGkOL/sXtP7RuDmFFP4phOEtWLupBGWNgQ4gcQjBhp9E/55sFH/MdxjtgwEjnbkt6wN0l6XpDbHAz6NH1yNY4JDl54bOji++Wt594TwPci3OojYDGpcg0Q/6xqtrAf/ZZmAMLnjhI/+Fep5nTTEiEQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oss.nxp.com; dmarc=pass action=none header.from=oss.nxp.com; dkim=pass header.d=oss.nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=NXP1.onmicrosoft.com; s=selector2-NXP1-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=6BlfwJY3I2+SSw4EVPPGq4z3YdlMPRqvCBUd+APhTag=; b=YpjG7kGTJPc+7XKtG2QG/BOG3/puSPuHx0JrMuHlPZO0PAHJAQNgD7Us1tVYTrtPH0bVEeLV7IXEdcZW+4oH8H2cBD8hieVHz+Rjxhg6O2H0WRhfXX95loMwN/bTBdAXvV+tcAF1XCusCms4VV8Nu2Tnj+ySYJgQXYSQmL6lxaQ= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=oss.nxp.com; Received: from AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) by PAXPR04MB9138.eurprd04.prod.outlook.com (2603:10a6:102:22d::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6907.23; Fri, 20 Oct 2023 05:36:28 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::6e53:39fc:f010:30d5]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::6e53:39fc:f010:30d5%5]) with mapi id 15.20.6933.011; Fri, 20 Oct 2023 05:36:28 +0000 Message-ID: <46f5f4ce-5033-44f1-bd4b-aef87535e4e3@oss.nxp.com> Date: Fri, 20 Oct 2023 13:38:52 +0800 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v5 1/3] dt-bindings: media: imx-jpeg: Assign slot for imx jpeg encoder/decoder From: ming qian To: Krzysztof Kozlowski , mirela.rabulea@oss.nxp.com, robh+dt@kernel.org, shawnguo@kernel.org Cc: krzysztof.kozlowski+dt@linaro.org, conor+dt@kernel.org, mchehab@kernel.org, hverkuil-cisco@xs4all.nl, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, xiahong.bao@nxp.com, eagle.zhou@nxp.com, tao.jiang_2@nxp.com, ming.qian@nxp.com, linux-imx@nxp.com, devicetree@vger.kernel.org, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: Content-Language: en-US In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-ClientProxiedBy: SI1PR02CA0006.apcprd02.prod.outlook.com (2603:1096:4:1f7::11) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AM6PR04MB6341:EE_|PAXPR04MB9138:EE_ X-MS-Office365-Filtering-Correlation-Id: c3b56ab3-6807-4199-f9c4-08dbd12e81ab X-MS-Exchange-SharedMailbox-RoutingAgent-Processed: True X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YxubqSCqK0Cun0Lq4Y7UCIKC45Xt8V99kO2sv1m7nJ+/2vb8nV7ko+iKMGba/W0RQX2rD/xMlUzUOmjGeMOX7g8HXe9tFdBFHl3jY2AWeC+cuQzOtgZIjEbJzmtJrz2PoVk29WQV+j3NQPWBfHcvELPWCRKqDFcDQKY1iPBMKpsPcLbiwyWrPvX0yZBkT9ML26dxxEmYShMwFVGKG3pFL6++cxQasj6FYnMnydNj7/RVY+IlzywzwH+HVYHi6EEHS1/36PZAP0+Er0qNwbbuPwtVWT+rIEXWu5lUw8rAVYU4USngTGTcwSDDiSl6YSMnJAx8C392sjI2j86Wx8uSpykvbZoqATGBFR0KNs7gxm/vBoES2taMVphJIuZwpThCF8H7m3WrVtPZ3vy6Z1SVo1XgFB8WOV66IbJ8ia5jD0mEjuxFgyFsHWz4S6EUci4g4/aPrveOx32DX4u/H6Q1QYyfEQNQ27fbN36rQmT8qbJlfbhyrEvPioVZ/wERuSsIyjuOwh1NngfgxSi2fENv9cm8BYpDdMD1NousRqS6TBgtnKdfH/6xZytUCCgeJ89wRoKmx7l+fnHutmu6wGckP9ZeI7x2qWWbQhbBlYfd9o68XNnXaAZZCiC3994fnIQc3oblqegirsmfUrlvLtlNYA== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB6341.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230031)(39860400002)(396003)(346002)(136003)(376002)(366004)(230922051799003)(64100799003)(451199024)(186009)(1800799009)(86362001)(31696002)(6666004)(7416002)(2616005)(26005)(6512007)(6506007)(4326008)(8936002)(8676002)(83380400001)(2906002)(66946007)(66556008)(66476007)(6486002)(31686004)(41300700001)(478600001)(316002)(38100700002)(5660300002)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?L21aeWpyTHJmMTFaYWRZTDJlQlJZLzl0cGNHRzNtUk5FajJJWGRqeVhBQjRr?= =?utf-8?B?emFpTVVLYngzOEhDZE1PNW1oa0wrVndXQ1pabE5zMWQwU1VpbStpVVhjQ2p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HUmtYa1JGSlJxcElUSUlseU80blY0?= =?utf-8?B?cTNuRFM0MlFpekxaUlVYekVDMlVyN3ZnOElMb3FPV3RtMzNQMlYyOWcwMUh3?= =?utf-8?B?VkVRcmpXc0pldUc1VU0zSEdFckNEek9odk5td3JFV05Wa2xRbkxKeWhTakIr?= =?utf-8?B?YUhMaE1PTlNxSU1mb1AwemNHVm5jYm1CbkJTSTR6NTFnYWxKT1dMSzRCN3Qy?= =?utf-8?Q?FkdYaJYNFH4XK2Sk5/sam+Cwg?= X-OriginatorOrg: oss.nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: c3b56ab3-6807-4199-f9c4-08dbd12e81ab X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Oct 2023 05:36:28.1036 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: QPXNiwBWIBy6YUhXgFV+QAZHJOxNgxN8pjEq6H5JSrmRldjrPGWKHR/5ohRMBvwPfaW+j5ARcGxo+JG8rdWB/g== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB9138 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=unavailable 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]); Thu, 19 Oct 2023 22:36:45 -0700 (PDT) Hi Krzysztof, > >>> From: Ming Qian >>> >>> This IP includes a jpeg wrapper and a jpeg engine, the wrapper is >>> working on descriptor based manner. It supports up to 4 slots, each slot >>> can have its own chained descriptors. Host won't configure the engine >>> directly, but fill some descriptors to encode or decode one jpeg >>> picture. Then configure the descriptors to certain slot register. The >>> jpeg wrapper will schedule between different slots. When some slot is >>> finished, the slot interrupt will be triggered. The purpose of slot is >>> that engine can be shared across multiple VMS and os. >>> >>> Currently, power domains and interrupts are enabled for all 4 slots, but >>> only one slot is used. There is no benefit in using more that one slot >>> from within the same OS, as the slots are scheduled in round-robin >>> manner and not executed in parallel. >>> >>> Use the property "nxp,slot" to assign a single slot, and just expose the >>> parts of the h/w for the assigned slot. For example, only put slot 1's >>> power-domains entry in the DT when slot 1 is assigned. If not specified, >>> 0 is used by default. >>> >>> Signed-off-by: Ming Qian >>> --- >>> v5 >>> - improve commit message >>> - improve property description >>> >>> v4 >>> - improve commit message >>> - drop line making the property required, to avoid ABI break >>> >>> v3 >>> - add vender prefix, change property slot to nxp,slot >>> - add type for property slot >>> >>> v2 >>> - add a new property in bindings document >>> >>> .../bindings/media/nxp,imx8-jpeg.yaml | 46 +++++++++---------- >>> 1 file changed, 22 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..0961856bdcab 100644 >>> --- a/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml >>> +++ b/Documentation/devicetree/bindings/media/nxp,imx8-jpeg.yaml >>> @@ -32,19 +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 >> >> The device still has four interrupts, so we should allow up to four of >> them. One given OS might want to use two or all four slots. >> >> > Got it, I will fix it in v6 patch. > We made an internal discussion about this, current approach of the bindings implies that one dts node is for one slot only, and the slot property is integer, not a list of slots. Whoever wants to use 2 or more slots, should put more nodes in the dts, one for each slot. Therefor, there is no point in allowing more than one interrupt in one node. Or, if we do, for the sake of allowing one OS to use more slots within the same dts node, we must also allow more power domains, in any case, we do not have multiple slots functionality in the driver anymore. Best regards, Ming >>> 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 # Mixed power domain >>> + maxItems: 2 # Wrapper and 1 slot >>> + >>> + nxp,slot: >>> + $ref: /schemas/types.yaml#/definitions/uint32 >>> + description: >>> + Integer number of slot index used. This IP includes a jpeg >>> wrapper, the >>> + wrapper is working on descriptor based manner. It supports up >>> to 4 slots, >>> + each slot can have its own chained descriptors. The purpose is >>> to share >>> + the jpeg engine across multiple VMS and os. We use this >>> property to >>> + assign a single slot. If not specified, 0 is used by default. >>> + minimum: 0 >>> + maximum: 3 >> >> default: 0 >> > Got it. > > Best regards, > Ming >> >> >> Best regards, >> Krzysztof >>