Message ID | 20230921-ixp4xx-gpio-clocks-v1-0-574942bf944a@linaro.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id D9524CD13CF for <linux-arm-kernel@archiver.kernel.org>; Wed, 20 Sep 2023 22:24:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:MIME-Version:Message-Id:Date: Subject:From:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References: List-Owner; bh=LEOF1VpaoQWVYnOzjeW9Bopv3mseoORQt8x2G9Kqjmk=; b=wwzQak6n6++sb5 8z2SdoNVhhKk1lfJL2TzwxCA7luEWXqbGPDu4xjMrByTyaX/G8Q9up0pTk1DSgjez+UoQ0qlJ3tZl q53v4gHcKR9irs5Honm37DZ1f/UuTsy2GFm7rkuK5J5IeSv7pNIqEQ/32/rrb78C9RR2uEpU49RYV Emq8luZS4ePLwNRSTasDt6B8ahp7c43NUfqwkh1Y3byQo4zC1F6Xy92GDtpg1fbQ1zjgERoN7rxHs KoH2/g8kOciLY1IZS00zbzp25ih3VFDcg7OCYtOv8FwFRG+PX2i7ng2ilMz9nILz2nfp7ftXB/e9Z UybfD2FKZ16SvKQhqYbw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1qj5bv-004M1Q-2Z; Wed, 20 Sep 2023 22:23:55 +0000 Received: from mail-lf1-x134.google.com ([2a00:1450:4864:20::134]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1qj5bs-004Lzl-23 for linux-arm-kernel@lists.infradead.org; Wed, 20 Sep 2023 22:23:54 +0000 Received: by mail-lf1-x134.google.com with SMTP id 2adb3069b0e04-502b0d23f28so602572e87.2 for <linux-arm-kernel@lists.infradead.org>; Wed, 20 Sep 2023 15:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1695248630; x=1695853430; darn=lists.infradead.org; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:from:to:cc:subject:date:message-id:reply-to; bh=jR1kBH2yPAoDrpPyCmiq+S860RDZqntfgvwfMKAURlY=; b=zy8ZwB2aKHngGqhYVsKek88XBgo+AbeJnI1tVim1QHgHL+KvISUgRDJU1L6jgne6BY ZyCKc8ejzO28TNh99hPWNins9FOzlUwMaY81SbTcGyr1f5Fnbd4pHPb6YJvNGKXo1LY+ bX8QuQMN0yrvC4m8oHS4e8+AivoDxCZfJUoDhfGSI8Ykvwf+KQRkemWbVGDugxq0o21Y gMqZLPs18PupJsBmf0wVhKjJsbZITjMNV/qxFTphu6F0TprM5cMw3djihdpwB3oswcO2 fbTbcaA4S9ZRUsRoFEHWgMVagzpt21B0Zcv623oZ0FmOrwsvVdboBe7X0FtYszVDzcCG HMaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695248630; x=1695853430; h=cc:to:content-transfer-encoding:mime-version:message-id:date :subject:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=jR1kBH2yPAoDrpPyCmiq+S860RDZqntfgvwfMKAURlY=; b=kt9j1fyA/lZj0fmpICZIn/5ZxCgKixJDdE6am2omBVVw/XL68VQ1tRvIeRK6AC4jTk EBivelskcKrzBjinWcWPHXR5fE2TITp02QRHkS1/75uAmGoyizwKkuXr3w/Ttqkz4T9k 2qK/QV2/m62y9RmfZ7EpY32avqiKJ+tGQtqVO9K8MNE0aFlSDOOPydVS1uUCjrI68Jjw t9ESeB8Y0NY/KiRwNSbZ/l/yxHc78bXRjeUmz4IQfe2KKZhTxMRj2qceZ5ZQKx7XcTea siw5ga9Guc8196JCqhjqFJjFBOHp1pCOb8XVjEvgkKf8yeg6SOmfuvm46guEaebiutwS TG3g== X-Gm-Message-State: AOJu0YwwPgJI+GQqJCjpEUWNclnjr6SkD0Td9N0wGYhVWpouO/X2Fsc6 UPDaw+AESVQ0o+zE++Tjn1KqbQ== X-Google-Smtp-Source: AGHT+IGrTKOvNc+sfjk9kwfUoKjO5iAktlPUvUR5xMaHp6VFLlMa0p5fwsDhBwnnb/PP+HiK/IHP3A== X-Received: by 2002:ac2:5e65:0:b0:502:fdca:2ea6 with SMTP id a5-20020ac25e65000000b00502fdca2ea6mr3015106lfr.61.1695248630097; Wed, 20 Sep 2023 15:23:50 -0700 (PDT) Received: from [192.168.1.2] (c-05d8225c.014-348-6c756e10.bbcust.telenor.se. [92.34.216.5]) by smtp.gmail.com with ESMTPSA id u14-20020ac2518e000000b004fe0fead9e2sm14557lfi.165.2023.09.20.15.23.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 20 Sep 2023 15:23:49 -0700 (PDT) From: Linus Walleij <linus.walleij@linaro.org> Subject: [PATCH 0/2] gpio: ixp4xx: Handle external clock output Date: Thu, 21 Sep 2023 00:23:44 +0200 Message-Id: <20230921-ixp4xx-gpio-clocks-v1-0-574942bf944a@linaro.org> MIME-Version: 1.0 X-B4-Tracking: v=1; b=H4sIAPBwC2UC/x3MQQqAIBBA0avIrBvIKSi7SrQom2ooVBRCiO6et HyL/x9IHIUTDOqByLck8a5AVwrsMbudUdZioJqa2pBGyaHNGfcgHu3l7Zmw456oN1u7LA2UMET eJP/TcXrfD1iQ7uJkAAAA To: Linus Walleij <linusw@kernel.org>, Imre Kaloz <kaloz@openwrt.org>, Krzysztof Halasa <khalasa@piap.pl>, Bartosz Golaszewski <brgl@bgdev.pl>, Andy Shevchenko <andy@kernel.org>, Rob Herring <robh+dt@kernel.org>, Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>, Conor Dooley <conor+dt@kernel.org> Cc: linux-arm-kernel@lists.infradead.org, linux-gpio@vger.kernel.org, devicetree@vger.kernel.org, Linus Walleij <linus.walleij@linaro.org> X-Mailer: b4 0.12.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230920_152352_713994_6EB4CE44 X-CRM114-Status: UNSURE ( 8.80 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
gpio: ixp4xx: Handle external clock output
|
expand
|
The GPIO block on the very legacy IXP4xx GPIO can provide a generated clock output on GPIO 14 and GPIO 15. This provides a straight-forward solution with a flag for each clock output. More complicated solutions are thinkable, but I deemed them overdesigned for this legacy SoC. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> --- Linus Walleij (2): gpio: Rewrite IXP4xx GPIO bindings in schema gpio: ixp4xx: Handle clock output on pin 14 and 15 .../devicetree/bindings/gpio/intel,ixp4xx-gpio.txt | 38 ------------ .../bindings/gpio/intel,ixp4xx-gpio.yaml | 70 ++++++++++++++++++++++ MAINTAINERS | 2 +- drivers/gpio/gpio-ixp4xx.c | 36 ++++++++++- 4 files changed, 106 insertions(+), 40 deletions(-) --- base-commit: 0bb80ecc33a8fb5a682236443c1e740d5c917d1d change-id: 20230921-ixp4xx-gpio-clocks-7e82289f4bb3 Best regards,