From patchwork Tue May 3 06:51:44 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Krzysztof Kozlowski X-Patchwork-Id: 12835074 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC1F2C433EF for ; Tue, 3 May 2022 06:52:07 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230372AbiECGzf (ORCPT ); Tue, 3 May 2022 02:55:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45838 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230315AbiECGz2 (ORCPT ); Tue, 3 May 2022 02:55:28 -0400 Received: from mail-ej1-x636.google.com (mail-ej1-x636.google.com [IPv6:2a00:1450:4864:20::636]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8895818E2D for ; Mon, 2 May 2022 23:51:55 -0700 (PDT) Received: by mail-ej1-x636.google.com with SMTP id bv19so31645604ejb.6 for ; Mon, 02 May 2022 23:51:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hzyexYYHTVVceyCDRefMu5hge5wA4LNQaOHRHQLKu0Y=; b=mM88rH1C8S5pDxpV4amTFfDcXnzdViiOsspaUW8fCfQB0zxEA15Kr6DS4FZkRi8YHj +DKEqaLMA1bq41tXi1zYy8MssTEq5iYai4nfsleG/C9DFNUGx4U6PDcNRa+5dfoXenzl xr3C9k0q9ktDiJV5UtQoQpj1V89rUXzwCGHdYO8f3tFQhoup2Y6ZQh70eqCmMpe/Iuuj jKvtb7J6s4qNwZc08axR12xzgcp7A/3lhtCuZfJ1XHjgTQx8YObztebBqJwol+nzByDe CRMBZh7DjBbVdelcJ32U30pDDijAgQ0rTA1SCrImjabE6UEK0ADP1cCJIHnM1q/vXS3b peqg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=hzyexYYHTVVceyCDRefMu5hge5wA4LNQaOHRHQLKu0Y=; b=LlHBh9p/U0GeLbIXLRcZnUVcuTru5VPc/B45PCvfM0ggmNGs+KBhPq17CnGhde3AsM R02Fb5Oce3vVLqZzIa+XCiIT9qd+z3FrpVELdgx4yCpt66QI6WsBbic/vBE9q9UaPfwm pSqK+eNghkG+7fg6suMk6rFiYbmSUNSEKAx2cHVJCA9MiCrivDSxOwVUQ5dBJ9jU00yn m47bxc3lc5ELJyx+PaZczhxaKZKSKnZFmCbALMEUuz7r3ZSwEg5kwJ6ujJ0X/yJE5PQy zroaSm0aP6VozL7cLGjAuHgia+MeAeKvolBrqrycXCdChJeRhkePYccO3lyJv87mITHA REYA== X-Gm-Message-State: AOAM5301fghTUVLmCM+VbDCN2AhZQ5rdM8o8y8+QM0ODW4j8O1oGu8AC wrWOd83j/lpjHcmxZHPeTny17A== X-Google-Smtp-Source: ABdhPJxwVQyW5xY+aQ+VGiYOnREVtkDZxV2eljzfWoEsSDuYXa4ABaNDp/P84m1lCOUeWhrYH3nJ0Q== X-Received: by 2002:a17:906:9b8d:b0:6f4:3618:5f8a with SMTP id dd13-20020a1709069b8d00b006f436185f8amr9713239ejc.589.1651560714135; Mon, 02 May 2022 23:51:54 -0700 (PDT) Received: from localhost.localdomain (xdsl-188-155-176-92.adslplus.ch. [188.155.176.92]) by smtp.gmail.com with ESMTPSA id h20-20020a1709070b1400b006f3ef214db8sm4246237ejl.30.2022.05.02.23.51.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 02 May 2022 23:51:53 -0700 (PDT) From: Krzysztof Kozlowski To: Vinod Koul , Rob Herring , Krzysztof Kozlowski , Orson Zhai , Baolin Wang , Chunyan Zhang , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Krzysztof Kozlowski Subject: [PATCH v2 0/3] dmaengine/ARM: sprd: use proper 'dma-channels/requests' properties Date: Tue, 3 May 2022 08:51:44 +0200 Message-Id: <20220503065147.51728-1-krzysztof.kozlowski@linaro.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org Hi, The core DT schema defines generic 'dma-channels' and 'dma-requests' properties, so in preparation to moving bindings to DT schema, convert existing users of '#dma-channels' and '#dma-requests' to the generic variant. Not tested on hardware. The patchset is bisectable - please pick up through independent trees. Changes since v2 ================ 1. Keep old properties, so the patchset is bisectable. 2. Add review tags. See also: [1] https://lore.kernel.org/linux-devicetree/fedb56be-f275-aabb-cdf5-dbd394b8a7bd@linaro.org/T/#m6235f451045c337d70a62dc65eab9a716618550b Best regards, Krzysztof Krzysztof Kozlowski (3): dt-bindings: dmaengine: sprd: deprecate '#dma-channels' dmaengine: sprd: deprecate '#dma-channels' arm64: dts: sprd: use new 'dma-channels' property Documentation/devicetree/bindings/dma/sprd-dma.txt | 7 +++++-- arch/arm64/boot/dts/sprd/whale2.dtsi | 4 ++++ drivers/dma/sprd-dma.c | 6 +++++- 3 files changed, 14 insertions(+), 3 deletions(-)