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 85B57C4332F for ; Mon, 13 Dec 2021 09:49:17 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236231AbhLMJtN (ORCPT ); Mon, 13 Dec 2021 04:49:13 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56268 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235323AbhLMJod (ORCPT ); Mon, 13 Dec 2021 04:44:33 -0500 Received: from mail-pg1-x535.google.com (mail-pg1-x535.google.com [IPv6:2607:f8b0:4864:20::535]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84340C08EAFC for ; Mon, 13 Dec 2021 01:40:50 -0800 (PST) Received: by mail-pg1-x535.google.com with SMTP id r138so14039420pgr.13 for ; Mon, 13 Dec 2021 01:40:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=0x0f.com; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=yJJIkvkgCUgy0Bnr8sTa1h8wUIUSrsU0wq9uYf92fAg=; b=OHbCXvqdFWCy9fI4cOobFHeTChcJafP95KYGGeBIpuKnVw1/g/9jYkJURh3vXQLC4D nglaglCvZb91mNE3cMKDjf00t5sBoEoN9yoU1lxG336RlYI4pzXsBmvCO/i0UD69MUXD v0yGSrCAnjaK9vxeLkUTrr6SwSD1Sdk/fCnQc= 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=yJJIkvkgCUgy0Bnr8sTa1h8wUIUSrsU0wq9uYf92fAg=; b=7qfrZwSDqLmwpBVVh/u8nvfwL8/VHI1tP/OddAyZLH6IxFYcm5DOv6l0blK04OEeup 4E3bhYJ+GPq7adtDmgsaQIbO5lBMK91Ok6n0V68f9BPHa5xmmtm7/9JKUksDq7y8bw1K qBqZA/CmYmNNPtCIrdfKAD9j335qOJJ5i/1U1XVq1nweLbJnG+nyJmkGgY0hPKGawOQP SueCxY3xbebKF6smqmU/j7z9QT6ffYFiUZb/zLg9TiIHWlMF2erpF/GbDf31Ig/aaFNZ /3eTAxQOZU3ipmMI93Ik7O/5mlQoJ5Fm1C/5qHHQ2YTvXkOSmGerBKHQPP89q/BhZrNw 2jCw== X-Gm-Message-State: AOAM531hyLbOH4K7qGmUVVMm/+sL6tuBBJrC0ekXTmiG0s3NuOaaIzNh ArJR3eSpDqJkMxhrAX+PCqFawD0M0p6NWQ== X-Google-Smtp-Source: ABdhPJyGmBG0e9IkI3PggZ6vlLRHWZbOsipMG905x7iNuc3pYZ+ygr1loGaIeGk7ZlbjomoAKYRe4A== X-Received: by 2002:a63:8849:: with SMTP id l70mr8316939pgd.433.1639388449926; Mon, 13 Dec 2021 01:40:49 -0800 (PST) Received: from shiro.work (p864106-ipngn200510sizuokaden.shizuoka.ocn.ne.jp. [180.9.58.106]) by smtp.googlemail.com with ESMTPSA id d195sm10237609pga.41.2021.12.13.01.40.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 13 Dec 2021 01:40:49 -0800 (PST) From: Daniel Palmer To: linus.walleij@linaro.org, brgl@bgdev.pl, linux-gpio@vger.kernel.org Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Daniel Palmer Subject: [PATCH v3 0/5] gpio: msc313: Add gpio support for ssd20xd Date: Mon, 13 Dec 2021 18:40:31 +0900 Message-Id: <20211213094036.1787950-1-daniel@0x0f.com> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Linus and Bartosz, As suggested by Linus I have dropped the DTS commits that were in the series to add a usage of this code to a target. If possible can you take the first 4 commits for the GPIO driver for me? The final DTS commit will go via our tree. Original blurb: This is a little series to add a compatible string for the Sigmastar SSD201 and SSD202D to the msc313 gpio driver, add the specific offsets for the pins on these chips. Changes since v2: - No code changes, dropped the UnitV2 DTS bits. I'll send a new series for that later. Changes since v1: - Add a fix for the led binding to squash the warning about the activity trigger in the unitv2 dts. - Fix up the regulator node names so they pass dtb check Daniel Palmer (5): dt-bindings: gpio: msc313: Add compatible for ssd20xd dt-bindings: gpio: msc313: Add offsets for ssd20xd gpio: msc313: Code clean ups gpio: msc313: Add support for SSD201 and SSD202D ARM: dts: mstar: Set gpio compatible for ssd20xd .../bindings/gpio/mstar,msc313-gpio.yaml | 4 +- .../boot/dts/mstar-infinity2m-ssd20xd.dtsi | 5 + drivers/gpio/gpio-msc313.c | 266 +++++++++++++++++- include/dt-bindings/gpio/msc313-gpio.h | 71 +++++ 4 files changed, 341 insertions(+), 5 deletions(-) -- 2.34.1