From patchwork Thu Sep 17 13:12:57 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Eugen Hristev X-Patchwork-Id: 11782435 Return-Path: Received: from mail.kernel.org (pdx-korg-mail-1.web.codeaurora.org [172.30.200.123]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 0558359D for ; Thu, 17 Sep 2020 13:14:59 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id C28562072E for ; Thu, 17 Sep 2020 13:14:58 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="AHj70WPS"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=microchip.com header.i=@microchip.com header.b="hZq/jZii" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C28562072E Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=bWCei0Fe8DmLJ7ljvugNgbzfELIMpbSE/R2OqKb4afU=; b=AHj70WPSht78Ry6uLLCDhyOHT l3MUi1F2mbD5tKOy58VgQRqf/+oYf5bekg2trZF+6X2hFeF25LjopTLVNiF4gFGea0kMRUOaCtqH+ zy7sVfmRBYIjhoe8Jg3zD6BAlQjatq2k9Rde0k4xBpggEa71YoywEz+eVwLFSCqcLkxzL1A89L1gO yhzaS3IR1rnCXSAweIzaYnT3+5vs8tD53CzlliPNybmfRJWqoAtKWEyA+wZtkepQvZsYNJKQkcfF1 e2QrXVz8a4dxCXApMtH3Fl6OiCOTxi4qYtMaGKYMl/kOQRxH7Dk7bOljgP57W173rPs9t4N+GsSoG zhvESSeUQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kItjA-0000z2-ML; Thu, 17 Sep 2020 13:13:32 +0000 Received: from esa3.microchip.iphmx.com ([68.232.153.233]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kItj4-0000xB-7B for linux-arm-kernel@lists.infradead.org; Thu, 17 Sep 2020 13:13:27 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1600348406; x=1631884406; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=TNfE+J8lkegxF+lyQIW6s0hqN7ALRP/ASxqfWb+N/SQ=; b=hZq/jZiiWwUt7ZPUwUKS8FNeWPoAyeZXNVajVL5qEXD5FRbD5UfAun5r bHHH1ZqrNdHSYIcDeQgMpNgni4i7npdXSneUMyRyU967DfYYDTvS5m/BS /p8gOxylyXCkiTE1WhTLfKeNwAU/oDQISAWwxby+Oh57Uv6Oe0zGZOUCR rhsPAD8WzoixCNppQwK+N6xbFW0KlKfzL0bYD3q7lzm+Vx6Qm3XzS+oMI AjkATa/zkjunnwWYcqOLAwh6gpDdI6rekeXNGnKB3jRzzo+i8CGaIa+t5 182GNheOhINSOCe6TnIMEeTUnDJ8Rxo94NWX59i5pi6EVv550zZ7OvHO3 A==; IronPort-SDR: X44fELi7RJXe4sq0o7iB/hYhXm08A1nwl/5ivmu59oPewIaEdoQ3qrXvKytzCFM8VT97LywAA+ +AZuusOGfOwIJyAnrYbHRWpFgtDRVIjT0P4XUqnhNtMngKP2LBRUeHOiESB3fy1j7IizzgDpjD fKzJsCX7gu5D0ylKQPkYd+v/qeKjLZMtHdKHuqvBmLMff5IJJKLmgk6RD5rVz+qQ1IK3onnMHU iyDFjjTqTrQWDRfpsrQF1qVkHlC7ysO7mNItAJeAFjiw0jpqLbZ6BT6GSjdkmmoMuDg8EmO2vu BpA= X-IronPort-AV: E=Sophos;i="5.76,437,1592895600"; d="scan'208";a="92175720" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa3.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 17 Sep 2020 06:13:25 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex01.mchp-main.com (10.10.85.143) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1979.3; Thu, 17 Sep 2020 06:12:59 -0700 Received: from ROB-ULT-M18282.microchip.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.1979.3 via Frontend Transport; Thu, 17 Sep 2020 06:13:18 -0700 From: Eugen Hristev To: , , , , , Subject: [PATCH 2/2] pinctrl: at91-pio4: add support for sama7g5 SoC Date: Thu, 17 Sep 2020 16:12:57 +0300 Message-ID: <20200917131257.273882-2-eugen.hristev@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20200917131257.273882-1-eugen.hristev@microchip.com> References: <20200917131257.273882-1-eugen.hristev@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200917_091326_455145_88ADCBF8 X-CRM114-Status: UNSURE ( 9.93 ) X-CRM114-Notice: Please train this message. X-Spam-Score: -2.5 (--) X-Spam-Report: SpamAssassin version 3.4.4 on merlin.infradead.org summary: Content analysis details: (-2.5 points) pts rule name description ---- ---------------------- -------------------------------------------------- -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at https://www.dnswl.org/, medium trust [68.232.153.233 listed in list.dnswl.org] 0.0 RCVD_IN_MSPIKE_H4 RBL: Very Good reputation (+4) [68.232.153.233 listed in wl.mailspike.net] -0.0 SPF_HELO_PASS SPF: HELO matches SPF record -0.0 SPF_PASS SPF: sender matches SPF record 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID_EF Message has a valid DKIM or DK signature from envelope-from domain -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature 0.0 RCVD_IN_MSPIKE_WL Mailspike good senders X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Eugen Hristev Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org Add support for sama7g5 pinctrl block, which has 5 PIO banks. Signed-off-by: Eugen Hristev Reviewed-by: Nicolas Ferre Acked-by: Ludovic Desroches --- drivers/pinctrl/pinctrl-at91-pio4.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/drivers/pinctrl/pinctrl-at91-pio4.c b/drivers/pinctrl/pinctrl-at91-pio4.c index 1c852293cb96..9f62152d0a62 100644 --- a/drivers/pinctrl/pinctrl-at91-pio4.c +++ b/drivers/pinctrl/pinctrl-at91-pio4.c @@ -999,10 +999,17 @@ static const struct atmel_pioctrl_data atmel_sama5d2_pioctrl_data = { .nbanks = 4, }; +static const struct atmel_pioctrl_data microchip_sama7g5_pioctrl_data = { + .nbanks = 5, +}; + static const struct of_device_id atmel_pctrl_of_match[] = { { .compatible = "atmel,sama5d2-pinctrl", .data = &atmel_sama5d2_pioctrl_data, + }, { + .compatible = "microchip,sama7g5-pinctrl", + .data = µchip_sama7g5_pioctrl_data, }, { /* sentinel */ }