Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp897067rdb; Wed, 6 Dec 2023 03:11:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IG6NzvnvD9qSxCQa2gX8FtuQeRtFUsT5eZ9z/OwgGZ15kBCbNQpNJU00g3kBupdCnuOzdHF X-Received: by 2002:a05:6a21:a59c:b0:187:3765:1798 with SMTP id gd28-20020a056a21a59c00b0018737651798mr4001616pzc.22.1701861083083; Wed, 06 Dec 2023 03:11:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701861083; cv=none; d=google.com; s=arc-20160816; b=YekyQLJgQ39RLO1HoU3diHsj4+4J+ch5Ij6bYx5O0s7v6WwoyvRIS0IoK4pkkwnj4P KZRC+Iy2AT60eZG4HFAtADayRUzbMJnqlfZAD/B8Glb9n3f5eCLtbhcwsvMpgtSpSLay lrpdHBIc02MZkZbJ3Nza2jd8jGWLrcnX8vFP9qZJ8p7ffrb6THF7ABbnzfiRJORkq5Jm Ws6lpZ7JOioW6AjKPDxoZ/q1AYjmnd5z+5lYCQVGOV2RixC1SSt8FzoT3jQ7Kt2y9kFM +YZrHq8sb3Sj9un7bwl/CS9NCA83ZxQB4P1gYEQxKenbvMA5l2ReXcfAxNGTzOYAUdzP xekw== 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:autocrypt :from:references:cc:to:content-language:subject:user-agent :mime-version:date:message-id:dkim-signature; bh=vLZuJpf6TZUfQI5IaI4gkbPlIAbKt/Dduks4Ejr5adY=; fh=g0G5zSpDgnBE/qXcnTdfUJfuUh9QJzYaveDVjiCIRfM=; b=bBeVMs9J5hpW08x2xKHdDVJoHCzX5TlnhGswBXMnczsgLpdJZkC2zBxVjceIgaRkeL 9P6cMNTL9/lm4WMrrA4aA/g1N0o70rMxyBFHnI3yqZQIBQJs4LNrdygWn9N0/tqoTSg8 /R0FJGbzh+vWjKqfp60dSFKTaTbdUoVHf6Q6e46TgeGc6eulP41xF+XA5VIlLtrxjyTF kHhDz7cLFFUCQ++agREqTF+Xj7cwUScn2yFdu3OxTxoCbkplTfuj6EbYak06T+IEs7aw X1loTc8j5ckU/Ki4frxinKBKNbAyoq0kRT8sPxsZPItE7uPHBupVo5AkI7Xqh65A/aNh E+6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MQNY2Qrh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id g11-20020a63564b000000b005be14925624si10972884pgm.714.2023.12.06.03.11.22 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Dec 2023 03:11:23 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=MQNY2Qrh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by morse.vger.email (Postfix) with ESMTP id 946CB80998B5; Wed, 6 Dec 2023 03:10:30 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1378017AbjLFLKQ (ORCPT + 99 others); Wed, 6 Dec 2023 06:10:16 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55472 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1378049AbjLFLKO (ORCPT ); Wed, 6 Dec 2023 06:10:14 -0500 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1E47A181 for ; Wed, 6 Dec 2023 03:10:20 -0800 (PST) Received: by mail-ej1-x62e.google.com with SMTP id a640c23a62f3a-a1e116f2072so16448366b.0 for ; Wed, 06 Dec 2023 03:10:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1701861018; x=1702465818; darn=vger.kernel.org; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=vLZuJpf6TZUfQI5IaI4gkbPlIAbKt/Dduks4Ejr5adY=; b=MQNY2QrhiJjtEYxM6HUoQggM5xQ8RNHOOM5EL+CULWCmL7F0q1RxLHkUe3q4xp6e9S /9H3pfPvUZv+Zgu76W1QSvY0unDpHF/yRcQujNpLEThiXDcND7EjEiGVaHy5eUcO4RRG ZLoQjb8lBwVuuMMaRV/NBqkyrL1+jQJjyt/w1ao2qmvg7hI+yGOV8tVJBjurqGI/ac3A mt0NFS7tmPRs70/r9PKDGQSuSSVrtjmVQTXU6Vcp2ztxDnr6mTG6ScLY71FqQg4QrosO AOUm0wuHJ/jqWDwAGFi9yKIjk4SiDRTR2Qj8jVbLW/Db6ZnI1rKPLmp4+WZ9zb/HZsdF 7Rfw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701861018; x=1702465818; h=content-transfer-encoding:in-reply-to:autocrypt:from:references:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=vLZuJpf6TZUfQI5IaI4gkbPlIAbKt/Dduks4Ejr5adY=; b=cja3YFYpurDb3cTcB2b9lzZ/zV9MRQ8q7237Dg35RZ7K89xnR/Tvq0NbgPErywSzEU zOLeXc8A7YyOZgPYyNZ2tUAKQ0h3i0erypH5In8/9wuBGuEHrgynQCFWyYHukkg/9vd6 Dkc6BWH4YweotOVlssh9vIaI5wDzEFDJgTPDW60qbi7/8itlLhHwMQ6oTOuUq3AkBk8v 9IamUP4+DqFoSxx8c/JYwn6ikEfzvyfU5AQ2JjTEvFPdGZXYE5uK+U1Kg+4Zt9NHU/IO WNH9lswyxmfvEVYR/GCVvKIq1DlXcZQBP6nvUDiGGU5oX2doklbsEVHy7uVkW3wvjSvh RtkA== X-Gm-Message-State: AOJu0YyPE/LH3VUsOeOlCDGH6L1rqU1Ofo2Q/dZ+7yDsmfY/5xyc4nQ6 7ZcKS4L+8UNby8Viwb5hpIzNcA== X-Received: by 2002:a17:906:2088:b0:a1e:4b3:2a6d with SMTP id 8-20020a170906208800b00a1e04b32a6dmr238180ejq.30.1701861018391; Wed, 06 Dec 2023 03:10:18 -0800 (PST) Received: from [192.168.1.20] ([178.197.218.27]) by smtp.gmail.com with ESMTPSA id sa12-20020a1709076d0c00b00a0a5a794575sm8086693ejc.216.2023.12.06.03.10.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 06 Dec 2023 03:10:18 -0800 (PST) Message-ID: Date: Wed, 6 Dec 2023 12:10:17 +0100 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH 3/4] memory: brcmstb_dpfe: support DPFE API v4 Content-Language: en-US To: Markus Mayer , Florian Fainelli , Rob Herring , Conor Dooley Cc: Linux ARM Kernel List , Device Tree Mailing List , Linux Kernel Mailing List References: <20231205184741.3092376-1-mmayer@broadcom.com> <20231205184741.3092376-4-mmayer@broadcom.com> From: Krzysztof Kozlowski Autocrypt: addr=krzysztof.kozlowski@linaro.org; keydata= xsFNBFVDQq4BEAC6KeLOfFsAvFMBsrCrJ2bCalhPv5+KQF2PS2+iwZI8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+4TKPMGZ2rZ6zITrMip+12jgw4mGjy 5y06JZvA02rZT2k9aa7i9dUUFggaanI09jNGbRA/ABEBAAHCwXwEGAEKACYCGwwWIQSb0H4O DFH41ZZ3t1Qbk0N9O0FimwUCYDzvagUJFF+UtgAKCRAbk0N9O0Fim9JzD/0auoGtUu4mgnna oEEpQEOjgT7l9TVuO3Qa/SeH+E0m55y5Fjpp6ZToc481za3xAcxK/BtIX5Wn1mQ6+szfrJQ6 59y2io437BeuWIRjQniSxHz1kgtFECiV30yHRgOoQlzUea7FgsnuWdstgfWi6LxstswEzxLZ Sj1EqpXYZE4uLjh6dW292sO+j4LEqPYr53hyV4I2LPmptPE9Rb9yCTAbSUlzgjiyyjuXhcwM qf3lzsm02y7Ooq+ERVKiJzlvLd9tSe4jRx6Z6LMXhB21fa5DGs/tHAcUF35hSJrvMJzPT/+u /oVmYDFZkbLlqs2XpWaVCo2jv8+iHxZZ9FL7F6AHFzqEFdqGnJQqmEApiRqH6b4jRBOgJ+cY qc+rJggwMQcJL9F+oDm3wX47nr6jIsEB5ZftdybIzpMZ5V9v45lUwmdnMrSzZVgC4jRGXzsU EViBQt2CopXtHtYfPAO5nAkIvKSNp3jmGxZw4aTc5xoAZBLo0OV+Ezo71pg3AYvq0a3/oGRG KQ06ztUMRrj8eVtpImjsWCd0bDWRaaR4vqhCHvAG9iWXZu4qh3ipie2Y0oSJygcZT7H3UZxq fyYKiqEmRuqsvv6dcbblD8ZLkz1EVZL6djImH5zc5x8qpVxlA0A0i23v5QvN00m6G9NFF0Le D2GYIS41Kv4Isx2dEFh+/Q== In-Reply-To: <20231205184741.3092376-4-mmayer@broadcom.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on morse.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 (morse.vger.email [0.0.0.0]); Wed, 06 Dec 2023 03:10:30 -0800 (PST) On 05/12/2023 19:47, Markus Mayer wrote: > Add support for version 4 of the DPFE API. This new version is largely > identical to version 3. The main difference is that all commands now > take the MHS version number as the first argument. Any other arguments > have been pushed down by one (i.e. what used to be arg0 in v3 is arg1 in > v4). > > Signed-off-by: Markus Mayer > --- ... > + > static const char *get_error_text(unsigned int i) > { > static const char * const error_text[] = { > @@ -929,8 +954,12 @@ static const struct of_device_id brcmstb_dpfe_of_match[] = { > { .compatible = "brcm,dpfe-cpu-v1", .data = &dpfe_api_old_v2 }, > { .compatible = "brcm,dpfe-cpu-v2", .data = &dpfe_api_new_v2 }, > { .compatible = "brcm,dpfe-cpu-v3", .data = &dpfe_api_v3 }, > + { .compatible = "brcm,dpfe-cpu-v4", .data = &dpfe_api_v4 }, > No, use SoC specific compatible. Best regards, Krzysztof