From patchwork Fri Aug 12 08:27:18 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Luca Weiss X-Patchwork-Id: 596922 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 4775AC25B0E for ; Fri, 12 Aug 2022 08:28:09 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237409AbiHLI2H (ORCPT ); Fri, 12 Aug 2022 04:28:07 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:39152 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236996AbiHLI2F (ORCPT ); Fri, 12 Aug 2022 04:28:05 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id EA6D1A1D50 for ; Fri, 12 Aug 2022 01:28:02 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id qn6so780887ejc.11 for ; Fri, 12 Aug 2022 01:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fairphone.com; s=fair; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc; bh=FOvtKT4GDRSWWmANlZuaQLQU83jeOYXI0TRQUgDdg10=; b=Tzp3P++LcNmw9+TC/IRERwMx+Wks2NcyvmSodUphcN5+yg8kiJYHvJa+nyNSqODj5B pn6vRDYHiIZWVAUCHqQ5S8M3mYM5fYHQEedpLxxlVNGW14j6pWeYsm3QPF8Ned07/YgU 9Fl/A5dSI08PQBsTowvNtH0O8b0Y7sv7Ta2GXySWEullzj0YVGoA77yU3t4y81BwANH1 bp7wB+JFIKoAPLocuMEfW9INgK0TWW9+ozYnXEh7PEC3cn2rfajFmMHvV3/04YKpkbGT s5RxBc2p17GcJQimnoLLnTBfzQaa33qqED0UrvCS+D/NJkpLR/MYiDDmmHI8GDNJdai3 oSQg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc; bh=FOvtKT4GDRSWWmANlZuaQLQU83jeOYXI0TRQUgDdg10=; b=SwqGp4SrZcNR2qPimglo1nvjy2gtmh7sUdzc5ILjlf5mfCotGlOYI0RsWF8app+xHw kZ4dRyuAZJVAYsAS6rklmTObgCJozCyAqoeEydG7fHiIMHXU77Auif2ibMuLW34mFTem vFZPbUEDaeD2KkUJ11VHIWhyMTu1Vd+6Evb1VMaluSD4DSqlYtnY7izNjaFE3sQyHY/l 2PkVxwKBRpRSUxJ0l/nQoVlCdHoewNsP96P99o0SJjDVRjPoTXibutejj1OorUQCtn7C 0GxkiwWFLYCAJQGvDFwbncriTyGd/0g0UtS9ebvUhYNDvFoYi415PwzvrrSi/LOSGUV6 48mA== X-Gm-Message-State: ACgBeo3eTDkH1CC8Yae5SjKxgu/iMQyDzl7DMTTPUL3d1NPAmvX1U6MY MOqV01Wf2FvE1Iv+5Jz61viCbg== X-Google-Smtp-Source: AA6agR6sMdNeGSxXxvk8uOhNb7/vmNsY06X9b9K9lidIhxQRJXDPodrM5jukgmEgLZ9ll1swk90yqQ== X-Received: by 2002:a17:907:270d:b0:730:6082:eb62 with SMTP id w13-20020a170907270d00b007306082eb62mr1914257ejk.95.1660292881538; Fri, 12 Aug 2022 01:28:01 -0700 (PDT) Received: from otso.arnhem.chello.nl (144-178-202-138.static.ef-service.nl. [144.178.202.138]) by smtp.gmail.com with ESMTPSA id y6-20020a056402134600b0043cf1c6bb10sm971326edw.25.2022.08.12.01.28.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Aug 2022 01:28:01 -0700 (PDT) From: Luca Weiss To: linux-arm-msm@vger.kernel.org Cc: ~postmarketos/upstreaming@lists.sr.ht, phone-devel@vger.kernel.org, Luca Weiss , devicetree@vger.kernel.org, dmaengine@vger.kernel.org, Konrad Dybcio , linux-kernel@vger.kernel.org, Vinod Koul Subject: [PATCH 0/3] Add GPI DMA support for SM6350 Date: Fri, 12 Aug 2022 10:27:18 +0200 Message-Id: <20220812082721.1125759-1-luca.weiss@fairphone.com> X-Mailer: git-send-email 2.37.1 MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: devicetree@vger.kernel.org This series hooks up GPI DMA support for the SM6350 I2C. It has been tested using himax,hxcommon driver that I forward-ported from the original vendor kernel on fairphone-fp4 - previously I have used i2c-gpio bitbang in my tree. This also requires the fix from Robin[0] that has already been accepted into linux-next, otherwise I2C communication fails to work. [0] https://lore.kernel.org/linux-arm-msm/20220807140455.409417-1-robin.reckmann@gmail.com/ Luca Weiss (3): dt-bindings: dmaengine: qcom: gpi: add compatible for SM6350 dmaengine: qcom: gpi: Add SM6350 support arm64: dts: qcom: sm6350: Add GPI DMA nodes .../devicetree/bindings/dma/qcom,gpi.yaml | 1 + arch/arm64/boot/dts/qcom/sm6350.dtsi | 59 +++++++++++++++++++ drivers/dma/qcom/gpi.c | 1 + 3 files changed, 61 insertions(+)