Received: by 2002:a05:6a10:83d0:0:0:0:0 with SMTP id o16csp39761pxh; Thu, 7 Apr 2022 13:18:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy/MqFu9s6K2zHMxFmDon3/1utSqm6bJwdRS256cet9kyszp2DpgfsyhZG80rVEWRuDqCEj X-Received: by 2002:a63:1e52:0:b0:380:ae84:256e with SMTP id p18-20020a631e52000000b00380ae84256emr12827812pgm.84.1649362734150; Thu, 07 Apr 2022 13:18:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649362734; cv=none; d=google.com; s=arc-20160816; b=zoNqwIKwVA+w2LgeeqVCMwyXdFGOcrUeuecDHSUF/xrrYFGiSQPcL6O4WosfbZwIgY E3WXz+ahancX1aHWamDEPQdlBZQzgZSfz8Mry5NvfWxMim9hEmbdsy1oMVYgGOaeB+sh OQzNlFTJ+QImhUNSNbiTh7zjgEg28XtZiFkMwscraQJ8X7Mb2yxhD0mA2lW98BogzBX8 Jpt4EntpK4IHea3tWSKFTLG+ABPpTKxHP0Xy1+roEWSyb/07xqwf81ucq6TKYyGjcKmn z+mDBPai3Y6o/53Nl6QWMtdppk6S6AigXlR6WnwP6vBMqgG6g0rDvJcwGuq2ORNYgkDL rflA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=iPP0D+z0IDd44ZdD/ERMbUpce+RzSVT1iFXSNsCKFkI=; b=lAFI1XleSkddj9PpAbjXESDPEtzpgEU8T6jPjIIjYrYS1BUacqlKelvcAkRMcB33p6 RMz7vmKDd+RdTHAJ/ON41JJFUXy3PXfDmh5rbZIpToSimvhtcnZJsFqN7n+qjgk9fVwe kZG4vlV9tSpelt85rVy50g8rDnyQtov128aquTEPeHWT11u9pzXkWBmLUr60zZEDTbOh /4sPbimbNl/h9CREamPu4d163UooF0Ci6zHjvXY9upCoHqHINFzq9WxAmeJuL7hTzBZw lQTVCblVLySNLbnM9FsPjixCTTRTSKwbPds2HbsdoCKGpZbt0RfOrvUgc9l3avn2m4u7 cdAA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Vrq3wqT9; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id ep20-20020a17090ae65400b001c74e871721si2467204pjb.177.2022.04.07.13.18.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 13:18:54 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=Vrq3wqT9; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D5E8B31CF23; Thu, 7 Apr 2022 12:38:09 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244612AbiDGLA0 (ORCPT + 99 others); Thu, 7 Apr 2022 07:00:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40970 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244618AbiDGLAV (ORCPT ); Thu, 7 Apr 2022 07:00:21 -0400 Received: from mail-lf1-x136.google.com (mail-lf1-x136.google.com [IPv6:2a00:1450:4864:20::136]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1369010FDC1; Thu, 7 Apr 2022 03:58:21 -0700 (PDT) Received: by mail-lf1-x136.google.com with SMTP id d40so1408774lfv.11; Thu, 07 Apr 2022 03:58:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=iPP0D+z0IDd44ZdD/ERMbUpce+RzSVT1iFXSNsCKFkI=; b=Vrq3wqT9Yy+lScwQjwrpYNdVVuF+df1AXf8NKz8voG6upS7Z4DtBYThuw4jsNCxTBw VCQtG8QXyitctbs84e93WkRvhXOgQ9NBlM8D4IhKzeN1qbS2CH9iNrUtzYfUzbUYVrU6 3JwKKjwDSWC6LUG02OfB4P2/Xra94QxQIZwDG8aPn41LA7Zu0qdUo4BSNKjBStscZu2j 0kygSVGI6KSfbElmC/yhKmJZWf6uUW9/z/DX5B+YimDBXWJSNo7C5F68qQzB3M9lORbs KkDWkceeTixfH2xhyGr55UoxWsN9gilmZJb0gu8Cm0YMC02C8eGKs4ppv8SMDslgrzzN t2nw== 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=iPP0D+z0IDd44ZdD/ERMbUpce+RzSVT1iFXSNsCKFkI=; b=NamFtQnW38amL9EHw8KFkrtng98GGgChMSDAwmUFaZOPV/gY6IwsFks77+rLf5xHTQ sH6cNbMK3PswJY62lkH19Zy+U8FBu2/xF3o6by+eKfV3jm62QXf3Tjp4wdW6wsN/SpiF 8xxyhwvjSn5djq547W1A1BuyZ2Ul+AQSCiLTdYDhznomf0ny8nCeQdzx9s78XzGS4rCN st9Uj6KnFqtY46WiXTat1OKmzDo2lzCwSZmuWizz8ShRhwNn7Dn0mkO4SBL6f42GNs6Z QhUjVsTUG7qXPSXIFDphUkHBMsSphaCvi2kuMT/uLg5VoubjKbmE8rTtTm02zxWZBEFY 80Kw== X-Gm-Message-State: AOAM533nEMfTX8BIOXOuw7P8PdCigwvZDMKEcfizr0+gDDFsK6TMerm9 LKQiFPu47vl32Qzx426S56r24ze0t1I= X-Received: by 2002:a05:6512:150f:b0:45d:ccac:c43c with SMTP id bq15-20020a056512150f00b0045dccacc43cmr9467948lfb.604.1649329099065; Thu, 07 Apr 2022 03:58:19 -0700 (PDT) Received: from nergzd-desktop.localdomain ([194.39.226.133]) by smtp.gmail.com with ESMTPSA id k18-20020ac24572000000b0044ae25d47d7sm1990273lfm.143.2022.04.07.03.58.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Apr 2022 03:58:18 -0700 (PDT) From: Markuss Broks To: linux-kernel@vger.kernel.org Cc: phone-devel@vger.kernel.org, ~postmarketos/upstreaming@lists.sr.ht, Markuss Broks , Pavel Machek , Rob Herring , Christophe JAILLET , Linus Walleij , linux-leds@vger.kernel.org, devicetree@vger.kernel.org Subject: [PATCH v2 0/2] Make AUX gpio pin optional for ktd2692 Date: Thu, 7 Apr 2022 13:58:07 +0300 Message-Id: <20220407105810.20399-1-markuss.broks@gmail.com> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Some appliances of ktd2692 don't have the AUX pin connected to a GPIO. Specifically, Samsung Galaxy J5 (2015), which uses ktd2692 for driving the front flash LED, has the pin not connected anywhere on schematics. Make specifying the AUX pin optional, since it is additional functionality and only affects amount of current going through the LED. Also convert the txt device-tree bindings to yaml and pick up maintainership over the yaml binding and the driver itself. v2: - fix the dt_binding_check Markuss Broks (2): dt-bindings: leds: convert ktd2692 bindings to yaml leds: ktd2692: Make aux-gpios optional .../bindings/leds/kinetic,ktd2692.yaml | 87 +++++++++++++++++++ .../devicetree/bindings/leds/leds-ktd2692.txt | 50 ----------- MAINTAINERS | 6 ++ drivers/leds/flash/leds-ktd2692.c | 18 ++-- 4 files changed, 103 insertions(+), 58 deletions(-) create mode 100644 Documentation/devicetree/bindings/leds/kinetic,ktd2692.yaml delete mode 100644 Documentation/devicetree/bindings/leds/leds-ktd2692.txt -- 2.35.1