From patchwork Thu May 14 14:20:16 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Warren X-Patchwork-Id: 472357 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by ozlabs.org (Postfix) with ESMTP id EB454140284 for ; Fri, 15 May 2015 00:20:32 +1000 (AEST) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933681AbbENOUZ (ORCPT ); Thu, 14 May 2015 10:20:25 -0400 Received: from avon.wwwdotorg.org ([70.85.31.133]:50645 "EHLO avon.wwwdotorg.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S933636AbbENOUX (ORCPT ); Thu, 14 May 2015 10:20:23 -0400 Received: from severn.wwwdotorg.org (unknown [192.168.65.5]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by avon.wwwdotorg.org (Postfix) with ESMTPS id E9CAB1E38B; Thu, 14 May 2015 08:20:22 -0600 (MDT) Received: from swarren-lx1.nvidia.com (localhost [127.0.0.1]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by severn.wwwdotorg.org (Postfix) with ESMTPSA id 966B9E4648; Thu, 14 May 2015 08:20:21 -0600 (MDT) From: Stephen Warren To: Stephen Warren Cc: Simon Glass , linux-tegra@vger.kernel.org, Stephen Warren Subject: [pinmux scripts PATCH] board-to-kernel-dt: don't generate outer state node Date: Thu, 14 May 2015 08:20:16 -0600 Message-Id: <1431613216-19745-1-git-send-email-swarren@wwwdotorg.org> X-Mailer: git-send-email 1.9.1 X-NVConfidentiality: public X-Virus-Scanned: clamav-milter 0.98.6 at avon.wwwdotorg.org X-Virus-Status: Clean Sender: linux-tegra-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-tegra@vger.kernel.org From: Stephen Warren The important thing for board-to-kernel-dt to generate is the content of the pinmux "state" node in DT. The name and label of the node that contains this information is essentially irrelevant. Since this irrelevant name and label varies between boards in existing DTs, update board-to-kernel-dt so it doesn't generate it. This makes it obvious that the name and label shouldn't be modified when importing new versions of board-to-kernel-dt's output. Signed-off-by: Stephen Warren Reviewed-by: Simon Glass --- board-to-kernel-dt.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/board-to-kernel-dt.py b/board-to-kernel-dt.py index 273f74125fa6..55e556cea98b 100755 --- a/board-to-kernel-dt.py +++ b/board-to-kernel-dt.py @@ -44,8 +44,6 @@ def mapper_pull(val): def mapper_bool(val): return 'TEGRA_PIN_' + {False: 'DISABLE', True: 'ENABLE'}[val] -print(' state_default: pinmux {') - for pincfg in board.pincfgs_by_num(): print(' ' + pincfg.fullname + ' {') print(' nvidia,pins = "' + pincfg.fullname + '";') @@ -70,6 +68,4 @@ for cfg in board.mipipadctrlcfgs_by_num(): print(' nvidia,function = "' + cfg.mux + '";') print(' };') -print(' };') - board.warn_about_unconfigured_pins()