Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp2044114imu; Wed, 21 Nov 2018 06:01:29 -0800 (PST) X-Google-Smtp-Source: AFSGD/VYUsXLrYWHvpypmrcj87SfwRPfKgVmbIAMVih1rZaGdYLzBxuLGfBS3zvpIH2g+TRe9IDF X-Received: by 2002:a63:94:: with SMTP id 142mr5974354pga.74.1542808889532; Wed, 21 Nov 2018 06:01:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542808889; cv=none; d=google.com; s=arc-20160816; b=keRHmBXinZtpERhpjmH5tjMeKtPFFeDL9W1j59y3eonbqjwf5PmXtXeVgPqgZJ5H83 ugax4xua2/2rdMMTbs7iaraSaOtIl4NGgrzpe56AM7JVRxr39Op6rDNNxPnKVRQlqK9c E9v2SF7jbjjJPKv0CGaMvaXLkqkQe0URx5l6qXZlOg34TSf2pArmfQIaGh9TmfzrRVQ6 8c0ZPmrqN16jS8+I1gV1JERN4zOJ4EHmH5Ox1C4RsemgYWD/7k6kjUVw7TpKpe2FmzGJ fV1nWpTPdla8QA/aphzvRcXms1j9a8zVP/0Uc+qOXwoaqWEuEaLJH717/2pyI/DeGgEK R3XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=YoJCFkiCKgSJThridSlyfziMlNx/aunHriyi/AbHbEI=; b=XRZNw67QB5t4iL9W5E+TqDaS635sc0bPqS5//YXyXfYZaJqyWOVsuLS1AtSgQSZ71W U/+memu6NcBTtTIrhlY0FDl9L4qrB1AokHHDGL1SVdeN7QHrMO4aCfkwtH15VS6EBXWu qm0YJGJVx2/g6vwSVWBMdv/FNBMKFTwCedcGDgDNpjaZ6G1nF72jiU+ZFN3Ib8soWYtR uJ7VKk7vtZ3ujNAdlt3NGvPX65jdzRqb3spK56X16gCITXQlXWpZ0cEriG3ko5qd8wdd VwSCzXDlMK0LSHGGQN/4OokihjMTDRx13bF29EkWhKEY8tNfclym4P9D+vkEjBPE4km5 VcXQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=czVoTK3x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a193si31045055pfa.214.2018.11.21.06.01.09; Wed, 21 Nov 2018 06:01:29 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=czVoTK3x; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730369AbeKUXJj (ORCPT + 99 others); Wed, 21 Nov 2018 18:09:39 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:35051 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729682AbeKUXJj (ORCPT ); Wed, 21 Nov 2018 18:09:39 -0500 Received: by mail-wm1-f67.google.com with SMTP id c126so5588966wmh.0; Wed, 21 Nov 2018 04:35:26 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YoJCFkiCKgSJThridSlyfziMlNx/aunHriyi/AbHbEI=; b=czVoTK3x2AwXq03697ECxzrycMQu1bHrSr+y7tRrHbPV33u+8jSxDok4eNK3/Sp/3Y 79e/bYNVfUlvBFGLqAptWlIWzy2vxWphx3Y1ncBkI076hpKWVhLNCkWKIdO0BrlJWoyc 40/yt03XhzRAB8f3Jkk0MyEUdYCl3WPUebqrdJAe+98fEH8kbx7Yqgh6JZQPW9BmQst2 ASLfdxa1DotgqfCz8V9IvHhS8Dr0ZRSNh+skbvCHrojXOdqpxz+eCpMxAzCaA+9oaeQw mhiayVwf16J5iitiXRGfO8ZLqx0+LtOxy1R4KBq347wNDgi7fwTcTAQYjbLdfAgidWfS JBGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=YoJCFkiCKgSJThridSlyfziMlNx/aunHriyi/AbHbEI=; b=K8HMU4oFTv/wCEqQY+Ke34ye1+rMF3BkKr6x/0ZdqtocN3hixCpn/iQJV1pBEHCvdI DJBHL1QnKisj7yXa3P/ZP71PA9PEnCLhaojjc7NC3WlninHTo0l7Ktaz6D8lppS7BA9/ hq52hClah+IPZ6Zg11xD3XqzRufSXNuZJgeV8u8unQ79Zm0qR1Rcj7ogCdWQ1rEGMUsl nnQn5tIilTvA8sys9YJDQD0ogebd8Avhmq/4eNmof513cGm+Odp37RBONHHmHnbli54o eOeYiVYY2D+BgniiAdmxs2gvqm+QvpsLtJWSNeDQiLCT4WEbgNl6cRU5P8M3Rr10AKoK 69ew== X-Gm-Message-State: AA+aEWY0GJjSYD40zrOfRHb+hJgVSIAITCdvBYL/uU+uD3w1j3d0kcYG iFM26Isw6j3AuPVO1loRWlkHJg35qhs= X-Received: by 2002:a1c:6a08:: with SMTP id f8mr5477632wmc.4.1542803725883; Wed, 21 Nov 2018 04:35:25 -0800 (PST) Received: from cperon-Latitude-7490.lan (static-css-csd-151233.business.bouyguestelecom.com. [176.162.151.233]) by smtp.gmail.com with ESMTPSA id 125-v6sm1212506wmr.22.2018.11.21.04.35.24 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Nov 2018 04:35:25 -0800 (PST) From: =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= To: Thierry Reding , Florian Fainelli , Ray Jui , Scott Branden Cc: bcm-kernel-feedback-list@broadcom.com, linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org, =?UTF-8?q?Cl=C3=A9ment=20P=C3=A9ron?= Subject: [PATCH v2] pwm: kconfig: enable kona pwm to be built for cygnus arch Date: Wed, 21 Nov 2018 13:35:08 +0100 Message-Id: <20181121123508.25119-1-peron.clem@gmail.com> X-Mailer: git-send-email 2.19.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org The Cygnus architecture use a Kona PWM. This is already present in the device tree but can't be built actually. Hence, allow the Kona PWM to be built for Cygnus arch. Signed-off-by: Clément Péron --- drivers/pwm/Kconfig | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/drivers/pwm/Kconfig b/drivers/pwm/Kconfig index 27e5dd47a01f..982f4059f4e8 100644 --- a/drivers/pwm/Kconfig +++ b/drivers/pwm/Kconfig @@ -88,7 +88,9 @@ config PWM_BCM_IPROC config PWM_BCM_KONA tristate "Kona PWM support" - depends on ARCH_BCM_MOBILE + depends on ARCH_BCM_MOBILE || ARCH_BCM_CYGNUS || COMPILE_TEST + depends on HAVE_CLK && HAS_IOMEM + default ARCH_BCM_CYGNUS help Generic PWM framework driver for Broadcom Kona PWM block. -- 2.19.1